Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) Create(f domain.Form) (domain.Form, error)
- func (_m *Repository) Delete(id int) error
- func (_m *Repository) Find(id int) (domain.Form, error)
- func (_m *Repository) FindByUUID(uniq uuid.UUID) (domain.Form, error)
- func (_m *Repository) List(meta params.Params) (domain.Forms, int, error)
- func (_m *Repository) Submit(f domain.FormSubmission) error
- func (_m *Repository) Update(f domain.Form) (domain.Form, 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(id int) error
Delete provides a mock function with given fields: id
func (*Repository) Find ¶
func (_m *Repository) Find(id int) (domain.Form, error)
Find provides a mock function with given fields: id
func (*Repository) FindByUUID ¶
FindByUUID provides a mock function with given fields: uniq
func (*Repository) Submit ¶
func (_m *Repository) Submit(f domain.FormSubmission) error
Submit provides a mock function with given fields: f
Click to show internal directories.
Click to hide internal directories.