Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) Create(destination *form.DestinationForm) (interface{}, error)
- func (_m *Repository) Delete(id string) error
- func (_m *Repository) Find(search string) (interface{}, error)
- func (_m *Repository) FindByID(id string) (interface{}, error)
- func (_m *Repository) FindIndex() (bool, error)
- type Service
- func (_m *Service) Create(user *form.DestinationForm) (interface{}, int, error)
- func (_m *Service) Delete(id string) (int, error)
- func (_m *Service) Find(search string) (interface{}, int, error)
- func (_m *Service) FindByID(id string) (interface{}, int, error)
- func (_m *Service) FindIndex() (bool, int, 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) Create ¶
func (_m *Repository) Create(destination *form.DestinationForm) (interface{}, error)
Create provides a mock function with given fields: destination
func (*Repository) Delete ¶
func (_m *Repository) Delete(id string) error
Delete provides a mock function with given fields: id
func (*Repository) Find ¶
func (_m *Repository) Find(search string) (interface{}, error)
Find provides a mock function with given fields: search
func (*Repository) FindByID ¶
func (_m *Repository) FindByID(id string) (interface{}, error)
FindByID provides a mock function with given fields: id
func (*Repository) FindIndex ¶
func (_m *Repository) FindIndex() (bool, error)
FindIndex provides a mock function with given fields:
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) Create ¶
func (_m *Service) Create(user *form.DestinationForm) (interface{}, int, error)
Create provides a mock function with given fields: user
Click to show internal directories.
Click to hide internal directories.