Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gopher ¶
type Gopher interface { // VerifyExists verifies if a post for the given ID and creator name exists VerifyExists(postID int64, creatorName string) (bool, error) // GetPostDetails gets the details of the given post by the given creator // Returns PostNotFoundErr if the post cannot be found GetPostDetails(postID int64, creatorName string) (*model.Post, error) }
type PostNotFoundErr ¶
func (*PostNotFoundErr) Error ¶
func (e *PostNotFoundErr) Error() string
Click to show internal directories.
Click to hide internal directories.