18 lines
702 B
Go
18 lines
702 B
Go
|
package services
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
var (
|
||
|
ErrMissingAuthorName = errors.New("unable to find the post author name")
|
||
|
ErrMissingAuthorImage = errors.New("unable to find the post author image")
|
||
|
ErrMissingThumbnail = errors.New("unable to find the post thumbnail url")
|
||
|
ErrMissingPublishDate = errors.New("unable to find the post publish date")
|
||
|
ErrMissingTags = errors.New("unable to find the post tags")
|
||
|
ErrMissingDescription = errors.New("unable to find the post description")
|
||
|
ErrMissingUrl = errors.New("unable to find the post url")
|
||
|
|
||
|
ErrInvalidAuthorImage = errors.New("expected value looks to be wrong, something is missing")
|
||
|
)
|
||
|
|
||
|
const DATETIME_FORMAT string = "1/2/2006 3:4 PM"
|