Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) Delete(postID int) error
- func (_m *Repository) Exists(field domain.PostField) bool
- func (_m *Repository) Find(postID int) (domain.PostFields, error)
- func (_m *Repository) FindByPostAndKey(postID int, key string) (domain.PostFields, error)
- func (_m *Repository) Insert(postID int, _a1 domain.PostFields) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Delete ¶
func (_m *Repository) Delete(postID int) error
Delete provides a mock function with given fields: postID
func (*Repository) Exists ¶
func (_m *Repository) Exists(field domain.PostField) bool
Exists provides a mock function with given fields: field
func (*Repository) Find ¶
func (_m *Repository) Find(postID int) (domain.PostFields, error)
Find provides a mock function with given fields: postID
func (*Repository) FindByPostAndKey ¶
func (_m *Repository) FindByPostAndKey(postID int, key string) (domain.PostFields, error)
FindByPostAndKey provides a mock function with given fields: postID, key
func (*Repository) Insert ¶
func (_m *Repository) Insert(postID int, _a1 domain.PostFields) error
Insert provides a mock function with given fields: postID, _a1
Click to show internal directories.
Click to hide internal directories.