Documentation
¶
Index ¶
- type Service
- func (_m *Service) UserCreate(ctx context.Context, user *form.UserForm) (*model.UserModel, int, error)
- func (_m *Service) UserDelete(ctx context.Context, id string) (int, error)
- func (_m *Service) UserFind(ctx context.Context) ([]*model.UserModel, int, error)
- func (_m *Service) UserFindByID(ctx context.Context, id string) (*model.UserModel, int, error)
- func (_m *Service) UserUpdate(ctx context.Context, user *form.UserForm, id string) (*model.UserModel, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) UserCreate ¶
func (_m *Service) UserCreate(ctx context.Context, user *form.UserForm) (*model.UserModel, int, error)
UserCreate provides a mock function with given fields: ctx, user
func (*Service) UserDelete ¶
UserDelete provides a mock function with given fields: ctx, id
func (*Service) UserFindByID ¶
UserFindByID provides a mock function with given fields: ctx, id
Click to show internal directories.
Click to hide internal directories.