Documentation
¶
Overview ¶
Package account is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserService) GetUserByID ¶
func (m *MockUserService) GetUserByID(id int64) entity.User
GetUserByID mocks base method
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService
func (*MockUserServiceMockRecorder) GetUserByID ¶
func (mr *MockUserServiceMockRecorder) GetUserByID(id interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID
type Usecase ¶
type Usecase struct {
// contains filtered or unexported fields
}
func NewUsecase ¶
func NewUsecase(user UserService) Usecase
type UserService ¶
Click to show internal directories.
Click to hide internal directories.