Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Create(pinId, authorId int) error Delete(pinId, authorId int) error ListByAuthor(authorId int) ([]models.Like, error) ListByPin(pinId int) ([]models.Like, error) PinExists(pinId int) (bool, error) UserExists(userId int) (bool, error) LikeExists(pinId, authorId int) (bool, error) }
Click to show internal directories.
Click to hide internal directories.