Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdminSrv ¶
type MockAdminSrv struct {
// contains filtered or unexported fields
}
MockAdminSrv is a mock of AdminSrv interface.
func NewMockAdminSrv ¶
func NewMockAdminSrv(ctrl *gomock.Controller) *MockAdminSrv
NewMockAdminSrv creates a new mock instance.
func (*MockAdminSrv) EXPECT ¶
func (m *MockAdminSrv) EXPECT() *MockAdminSrvMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdminSrv) GetAdminInfo ¶
func (m *MockAdminSrv) GetAdminInfo(arg0 int) string
GetAdminInfo mocks base method.
func (*MockAdminSrv) GetUserById ¶
func (m *MockAdminSrv) GetUserById(arg0 int) string
GetUserById mocks base method.
type MockAdminSrvMockRecorder ¶
type MockAdminSrvMockRecorder struct {
// contains filtered or unexported fields
}
MockAdminSrvMockRecorder is the mock recorder for MockAdminSrv.
func (*MockAdminSrvMockRecorder) GetAdminInfo ¶
func (mr *MockAdminSrvMockRecorder) GetAdminInfo(arg0 interface{}) *gomock.Call
GetAdminInfo indicates an expected call of GetAdminInfo.
func (*MockAdminSrvMockRecorder) GetUserById ¶
func (mr *MockAdminSrvMockRecorder) GetUserById(arg0 interface{}) *gomock.Call
GetUserById indicates an expected call of GetUserById.
func (*MockAdminSrvMockRecorder) Update ¶
func (mr *MockAdminSrvMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUserSrv ¶
type MockUserSrv struct {
// contains filtered or unexported fields
}
MockUserSrv is a mock of UserSrv interface.
func NewMockUserSrv ¶
func NewMockUserSrv(ctrl *gomock.Controller) *MockUserSrv
NewMockUserSrv creates a new mock instance.
func (*MockUserSrv) EXPECT ¶
func (m *MockUserSrv) EXPECT() *MockUserSrvMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserSrv) GetUserById ¶
func (m *MockUserSrv) GetUserById(id int) string
GetUserById mocks base method.
type MockUserSrvMockRecorder ¶
type MockUserSrvMockRecorder struct {
// contains filtered or unexported fields
}
MockUserSrvMockRecorder is the mock recorder for MockUserSrv.
func (*MockUserSrvMockRecorder) GetUserById ¶
func (mr *MockUserSrvMockRecorder) GetUserById(id interface{}) *gomock.Call
GetUserById indicates an expected call of GetUserById.
func (*MockUserSrvMockRecorder) Update ¶
func (mr *MockUserSrvMockRecorder) Update(id, data interface{}) *gomock.Call
Update indicates an expected call of Update.