Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMarkRepo
- func (m *MockMarkRepo) Create(arg0 *app.Mark) (*app.Mark, error)
- func (m *MockMarkRepo) DeleteAll() error
- func (m *MockMarkRepo) DeleteByID(arg0 string) (bool, error)
- func (m *MockMarkRepo) EXPECT() *MockMarkRepoMockRecorder
- func (m *MockMarkRepo) FindAll() ([]app.Mark, error)
- func (m *MockMarkRepo) FindAllByUserID(arg0 string) ([]app.Mark, error)
- func (m *MockMarkRepo) FindByID(arg0 string) (*app.Mark, error)
- func (m *MockMarkRepo) Update(arg0 *app.Mark) error
- type MockMarkRepoMockRecorder
- func (mr *MockMarkRepoMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockMarkRepoMockRecorder) DeleteAll() *gomock.Call
- func (mr *MockMarkRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call
- func (mr *MockMarkRepoMockRecorder) FindAll() *gomock.Call
- func (mr *MockMarkRepoMockRecorder) FindAllByUserID(arg0 interface{}) *gomock.Call
- func (mr *MockMarkRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call
- func (mr *MockMarkRepoMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockUserRepo
- func (m *MockUserRepo) Create(arg0 *app.User) (*app.User, error)
- func (m *MockUserRepo) DeleteAll() error
- func (m *MockUserRepo) DeleteByEmail(arg0 string) (bool, error)
- func (m *MockUserRepo) DeleteByID(arg0 string) (bool, error)
- func (m *MockUserRepo) EXPECT() *MockUserRepoMockRecorder
- func (m *MockUserRepo) FindAll() ([]app.User, error)
- func (m *MockUserRepo) FindByEmail(arg0 string) (*app.User, error)
- func (m *MockUserRepo) FindByID(arg0 string) (*app.User, error)
- func (m *MockUserRepo) Update(arg0 *app.User) error
- type MockUserRepoMockRecorder
- func (mr *MockUserRepoMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepoMockRecorder) DeleteAll() *gomock.Call
- func (mr *MockUserRepoMockRecorder) DeleteByEmail(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepoMockRecorder) FindAll() *gomock.Call
- func (mr *MockUserRepoMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepoMockRecorder) Update(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMarkRepo ¶
type MockMarkRepo struct {
// contains filtered or unexported fields
}
MockMarkRepo is a mock of MarkRepo interface
func NewMockMarkRepo ¶
func NewMockMarkRepo(ctrl *gomock.Controller) *MockMarkRepo
NewMockMarkRepo creates a new mock instance
func (*MockMarkRepo) DeleteAll ¶
func (m *MockMarkRepo) DeleteAll() error
DeleteAll mocks base method
func (*MockMarkRepo) DeleteByID ¶
func (m *MockMarkRepo) DeleteByID(arg0 string) (bool, error)
DeleteByID mocks base method
func (*MockMarkRepo) EXPECT ¶
func (m *MockMarkRepo) EXPECT() *MockMarkRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMarkRepo) FindAll ¶
func (m *MockMarkRepo) FindAll() ([]app.Mark, error)
FindAll mocks base method
func (*MockMarkRepo) FindAllByUserID ¶
func (m *MockMarkRepo) FindAllByUserID(arg0 string) ([]app.Mark, error)
FindAllByUserID mocks base method
type MockMarkRepoMockRecorder ¶
type MockMarkRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockMarkRepoMockRecorder is the mock recorder for MockMarkRepo
func (*MockMarkRepoMockRecorder) Create ¶
func (mr *MockMarkRepoMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockMarkRepoMockRecorder) DeleteAll ¶
func (mr *MockMarkRepoMockRecorder) DeleteAll() *gomock.Call
DeleteAll indicates an expected call of DeleteAll
func (*MockMarkRepoMockRecorder) DeleteByID ¶
func (mr *MockMarkRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call
DeleteByID indicates an expected call of DeleteByID
func (*MockMarkRepoMockRecorder) FindAll ¶
func (mr *MockMarkRepoMockRecorder) FindAll() *gomock.Call
FindAll indicates an expected call of FindAll
func (*MockMarkRepoMockRecorder) FindAllByUserID ¶
func (mr *MockMarkRepoMockRecorder) FindAllByUserID(arg0 interface{}) *gomock.Call
FindAllByUserID indicates an expected call of FindAllByUserID
func (*MockMarkRepoMockRecorder) FindByID ¶
func (mr *MockMarkRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockMarkRepoMockRecorder) Update ¶
func (mr *MockMarkRepoMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockUserRepo ¶
type MockUserRepo struct {
// contains filtered or unexported fields
}
MockUserRepo is a mock of UserRepo interface
func NewMockUserRepo ¶
func NewMockUserRepo(ctrl *gomock.Controller) *MockUserRepo
NewMockUserRepo creates a new mock instance
func (*MockUserRepo) DeleteAll ¶
func (m *MockUserRepo) DeleteAll() error
DeleteAll mocks base method
func (*MockUserRepo) DeleteByEmail ¶
func (m *MockUserRepo) DeleteByEmail(arg0 string) (bool, error)
DeleteByEmail mocks base method
func (*MockUserRepo) DeleteByID ¶
func (m *MockUserRepo) DeleteByID(arg0 string) (bool, error)
DeleteByID mocks base method
func (*MockUserRepo) EXPECT ¶
func (m *MockUserRepo) EXPECT() *MockUserRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserRepo) FindAll ¶
func (m *MockUserRepo) FindAll() ([]app.User, error)
FindAll mocks base method
func (*MockUserRepo) FindByEmail ¶
func (m *MockUserRepo) FindByEmail(arg0 string) (*app.User, error)
FindByEmail mocks base method
type MockUserRepoMockRecorder ¶
type MockUserRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepoMockRecorder is the mock recorder for MockUserRepo
func (*MockUserRepoMockRecorder) Create ¶
func (mr *MockUserRepoMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserRepoMockRecorder) DeleteAll ¶
func (mr *MockUserRepoMockRecorder) DeleteAll() *gomock.Call
DeleteAll indicates an expected call of DeleteAll
func (*MockUserRepoMockRecorder) DeleteByEmail ¶
func (mr *MockUserRepoMockRecorder) DeleteByEmail(arg0 interface{}) *gomock.Call
DeleteByEmail indicates an expected call of DeleteByEmail
func (*MockUserRepoMockRecorder) DeleteByID ¶
func (mr *MockUserRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call
DeleteByID indicates an expected call of DeleteByID
func (*MockUserRepoMockRecorder) FindAll ¶
func (mr *MockUserRepoMockRecorder) FindAll() *gomock.Call
FindAll indicates an expected call of FindAll
func (*MockUserRepoMockRecorder) FindByEmail ¶
func (mr *MockUserRepoMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
FindByEmail indicates an expected call of FindByEmail
func (*MockUserRepoMockRecorder) FindByID ¶
func (mr *MockUserRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockUserRepoMockRecorder) Update ¶
func (mr *MockUserRepoMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update