Documentation ¶
Index ¶
- type File
- type FileRepository
- type FileService
- type UserRepository
- func (_m *UserRepository) Create(params *domain.User) (*domain.User, error)
- func (_m *UserRepository) Destroy(id int) (*domain.User, error)
- func (_m *UserRepository) Find(id int) (*domain.User, error)
- func (_m *UserRepository) List(params domain.UserListInput) ([]*domain.User, error)
- func (_m *UserRepository) Update(id int, params *domain.User) (*domain.User, error)
- type UserService
- func (_m *UserService) Create(params domain.UserCreateInput) (*domain.UserDetailOutput, error)
- func (_m *UserService) Destroy(id int) (*domain.UserDetailOutput, error)
- func (_m *UserService) List(params domain.UserListInput) ([]*domain.UserCompactOutput, error)
- func (_m *UserService) Show(id int) (*domain.UserDetailOutput, error)
- func (_m *UserService) Update(id int, params domain.UserUpdateInput) (*domain.UserDetailOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File is an autogenerated mock type for the File type
func (*File) AsFileOutput ¶
func (_m *File) AsFileOutput() (*domain.FileOutput, error)
AsFileOutput provides a mock function with given fields:
func (*File) DownloadURL ¶
DownloadURL provides a mock function with given fields:
type FileRepository ¶
FileRepository is an autogenerated mock type for the FileRepository type
type FileService ¶
FileService is an autogenerated mock type for the FileService type
func (*FileService) GetFileURL ¶
func (_m *FileService) GetFileURL(params domain.GenerateFileURLInput) (*domain.FileOutput, error)
GetFileURL provides a mock function with given fields: params
type UserRepository ¶
UserRepository is an autogenerated mock type for the UserRepository type
func (*UserRepository) Destroy ¶
func (_m *UserRepository) Destroy(id int) (*domain.User, error)
Destroy provides a mock function with given fields: id
func (*UserRepository) Find ¶
func (_m *UserRepository) Find(id int) (*domain.User, error)
Find provides a mock function with given fields: id
func (*UserRepository) List ¶
func (_m *UserRepository) List(params domain.UserListInput) ([]*domain.User, error)
List provides a mock function with given fields: params
type UserService ¶
UserService is an autogenerated mock type for the UserService type
func (*UserService) Create ¶
func (_m *UserService) Create(params domain.UserCreateInput) (*domain.UserDetailOutput, error)
Create provides a mock function with given fields: params
func (*UserService) Destroy ¶
func (_m *UserService) Destroy(id int) (*domain.UserDetailOutput, error)
Destroy provides a mock function with given fields: id
func (*UserService) List ¶
func (_m *UserService) List(params domain.UserListInput) ([]*domain.UserCompactOutput, error)
List provides a mock function with given fields: params
func (*UserService) Show ¶
func (_m *UserService) Show(id int) (*domain.UserDetailOutput, error)
Show provides a mock function with given fields: id
func (*UserService) Update ¶
func (_m *UserService) Update(id int, params domain.UserUpdateInput) (*domain.UserDetailOutput, error)
Update provides a mock function with given fields: id, params