2022-06-30 14:54:58 -07:00
|
|
|
package input
|
2022-05-15 21:48:23 -07:00
|
|
|
|
|
|
|
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"
|