Documentation ¶
Index ¶
- func Add(name, user, url, provider string) error
- func All() []*model.Feed
- func AllFor(acc *model.Account) []*model.Feed
- func FindByID(feedID uint) (*model.Feed, error)
- func HashTagsFor(f *model.Feed) []*model.HashTag
- func PrefixedHashTagValuesFor(f *model.Feed) []string
- type DoesNotExistError
- type UserDoesNotExistError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashTagsFor ¶ added in v1.2.0
HashTagsFor return all associated HashTags for a Feed.
func PrefixedHashTagValuesFor ¶ added in v1.2.0
PrefixedHashTagValuesFor returns with all the HashTags with prefixed (#) array of strings.
Types ¶
type DoesNotExistError ¶ added in v1.2.0
type DoesNotExistError struct {
ID uint
}
DoesNotExistError occues when feed does not exist.
func (DoesNotExistError) Error ¶ added in v1.2.0
func (e DoesNotExistError) Error() string
type UserDoesNotExistError ¶
type UserDoesNotExistError struct {
Name string
}
UserDoesNotExistError occues when user does not exist but we want to assign a feed to it.
func (UserDoesNotExistError) Error ¶
func (e UserDoesNotExistError) Error() string
Click to show internal directories.
Click to hide internal directories.