Documentation ¶
Overview ¶
Package masterExchange 交換
Package masterExchange 交換 ¶
Package masterExchange is a generated GoMock package.
Index ¶
- type MasterExchange
- type MasterExchangeMysqlRepository
- type MasterExchanges
- type MockMasterExchangeMysqlRepository
- func (m_2 *MockMasterExchangeMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error)
- func (m *MockMasterExchangeMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error)
- func (m_2 *MockMasterExchangeMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *MasterExchange) error
- func (m *MockMasterExchangeMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) error
- func (m *MockMasterExchangeMysqlRepository) EXPECT() *MockMasterExchangeMysqlRepositoryMockRecorder
- func (m *MockMasterExchangeMysqlRepository) Find(ctx context.Context, masterExchangeId int64) (*MasterExchange, error)
- func (m *MockMasterExchangeMysqlRepository) FindByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error)
- func (m *MockMasterExchangeMysqlRepository) FindList(ctx context.Context) (MasterExchanges, error)
- func (m *MockMasterExchangeMysqlRepository) FindListByMasterEventId(ctx context.Context, masterEventId int64) (MasterExchanges, error)
- func (m *MockMasterExchangeMysqlRepository) FindOrNil(ctx context.Context, masterExchangeId int64) (*MasterExchange, error)
- func (m *MockMasterExchangeMysqlRepository) FindOrNilByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error)
- func (m_2 *MockMasterExchangeMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error)
- func (m *MockMasterExchangeMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error)
- type MockMasterExchangeMysqlRepositoryMockRecorder
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Find(ctx, masterExchangeId interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindList(ctx interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindListByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNil(ctx, masterExchangeId interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNilByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
- func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterExchange ¶
func NewMasterExchange ¶
func NewMasterExchange() *MasterExchange
func SetMasterExchange ¶
func SetMasterExchange(masterExchangeId int64, masterEventId int64, name string) *MasterExchange
type MasterExchangeMysqlRepository ¶
type MasterExchangeMysqlRepository interface { Find(ctx context.Context, masterExchangeId int64) (*MasterExchange, error) FindOrNil(ctx context.Context, masterExchangeId int64) (*MasterExchange, error) FindByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error) FindOrNilByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error) FindList(ctx context.Context) (MasterExchanges, error) FindListByMasterEventId(ctx context.Context, masterEventId int64) (MasterExchanges, error) Create(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error) CreateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error) Update(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error) Delete(ctx context.Context, tx *gorm.DB, m *MasterExchange) error DeleteList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) error }
type MasterExchanges ¶
type MasterExchanges []*MasterExchange
func NewMasterExchanges ¶
func NewMasterExchanges() MasterExchanges
type MockMasterExchangeMysqlRepository ¶
type MockMasterExchangeMysqlRepository struct {
// contains filtered or unexported fields
}
MockMasterExchangeMysqlRepository is a mock of MasterExchangeMysqlRepository interface.
func NewMockMasterExchangeMysqlRepository ¶
func NewMockMasterExchangeMysqlRepository(ctrl *gomock.Controller) *MockMasterExchangeMysqlRepository
NewMockMasterExchangeMysqlRepository creates a new mock instance.
func (*MockMasterExchangeMysqlRepository) Create ¶
func (m_2 *MockMasterExchangeMysqlRepository) Create(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error)
Create mocks base method.
func (*MockMasterExchangeMysqlRepository) CreateList ¶
func (m *MockMasterExchangeMysqlRepository) CreateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error)
CreateList mocks base method.
func (*MockMasterExchangeMysqlRepository) Delete ¶
func (m_2 *MockMasterExchangeMysqlRepository) Delete(ctx context.Context, tx *gorm.DB, m *MasterExchange) error
Delete mocks base method.
func (*MockMasterExchangeMysqlRepository) DeleteList ¶
func (m *MockMasterExchangeMysqlRepository) DeleteList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) error
DeleteList mocks base method.
func (*MockMasterExchangeMysqlRepository) EXPECT ¶
func (m *MockMasterExchangeMysqlRepository) EXPECT() *MockMasterExchangeMysqlRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMasterExchangeMysqlRepository) Find ¶
func (m *MockMasterExchangeMysqlRepository) Find(ctx context.Context, masterExchangeId int64) (*MasterExchange, error)
Find mocks base method.
func (*MockMasterExchangeMysqlRepository) FindByMasterEventId ¶
func (m *MockMasterExchangeMysqlRepository) FindByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error)
FindByMasterEventId mocks base method.
func (*MockMasterExchangeMysqlRepository) FindList ¶
func (m *MockMasterExchangeMysqlRepository) FindList(ctx context.Context) (MasterExchanges, error)
FindList mocks base method.
func (*MockMasterExchangeMysqlRepository) FindListByMasterEventId ¶
func (m *MockMasterExchangeMysqlRepository) FindListByMasterEventId(ctx context.Context, masterEventId int64) (MasterExchanges, error)
FindListByMasterEventId mocks base method.
func (*MockMasterExchangeMysqlRepository) FindOrNil ¶
func (m *MockMasterExchangeMysqlRepository) FindOrNil(ctx context.Context, masterExchangeId int64) (*MasterExchange, error)
FindOrNil mocks base method.
func (*MockMasterExchangeMysqlRepository) FindOrNilByMasterEventId ¶
func (m *MockMasterExchangeMysqlRepository) FindOrNilByMasterEventId(ctx context.Context, masterEventId int64) (*MasterExchange, error)
FindOrNilByMasterEventId mocks base method.
func (*MockMasterExchangeMysqlRepository) Update ¶
func (m_2 *MockMasterExchangeMysqlRepository) Update(ctx context.Context, tx *gorm.DB, m *MasterExchange) (*MasterExchange, error)
Update mocks base method.
func (*MockMasterExchangeMysqlRepository) UpdateList ¶
func (m *MockMasterExchangeMysqlRepository) UpdateList(ctx context.Context, tx *gorm.DB, ms MasterExchanges) (MasterExchanges, error)
UpdateList mocks base method.
type MockMasterExchangeMysqlRepositoryMockRecorder ¶
type MockMasterExchangeMysqlRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMasterExchangeMysqlRepositoryMockRecorder is the mock recorder for MockMasterExchangeMysqlRepository.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) Create ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Create(ctx, tx, m interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) CreateList ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) CreateList(ctx, tx, ms interface{}) *gomock.Call
CreateList indicates an expected call of CreateList.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) Delete ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Delete(ctx, tx, m interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) DeleteList ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) DeleteList(ctx, tx, ms interface{}) *gomock.Call
DeleteList indicates an expected call of DeleteList.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) Find ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Find(ctx, masterExchangeId interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) FindByMasterEventId ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
FindByMasterEventId indicates an expected call of FindByMasterEventId.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) FindList ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindList(ctx interface{}) *gomock.Call
FindList indicates an expected call of FindList.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) FindListByMasterEventId ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindListByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
FindListByMasterEventId indicates an expected call of FindListByMasterEventId.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNil ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNil(ctx, masterExchangeId interface{}) *gomock.Call
FindOrNil indicates an expected call of FindOrNil.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNilByMasterEventId ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) FindOrNilByMasterEventId(ctx, masterEventId interface{}) *gomock.Call
FindOrNilByMasterEventId indicates an expected call of FindOrNilByMasterEventId.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) Update ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) Update(ctx, tx, m interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockMasterExchangeMysqlRepositoryMockRecorder) UpdateList ¶
func (mr *MockMasterExchangeMysqlRepositoryMockRecorder) UpdateList(ctx, tx, ms interface{}) *gomock.Call
UpdateList indicates an expected call of UpdateList.