newsbot-api/services/input/common.go
James Tombleson 0e0058506a
Feature Flags (#11)
* added feature flags around background workers

* background workers are moved to a new package as outputs are starting to get added

* package name was updated

* updated refs to the new input package

* query and sql updates on routes

* moved the services and starting to add discord web hook

* query update
2022-06-30 14:54:58 -07:00

18 lines
699 B
Go

package input
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"