1
0
mirror of https://github.com/kha7iq/pingme.git synced 2025-05-15 14:20:18 -07:00
pingme/service/helpers/helper.go

14 lines
313 B
Go

package helpers
import (
"errors"
"time"
)
var (
// ErrChannel variable holds default error message if no channel is provided.
ErrChannel = errors.New("target channel or id can not be empty")
// TimeValue holds current date and time in unix format.
TimeValue = "⏰ " + time.Now().Format(time.UnixDate)
)