Documentation
¶
Index ¶
- type IDatabase
- type IHandler
- func (_m *IHandler) Count(ctx context.Context, params arguments.CompanyCount) (int64, error)
- func (_m *IHandler) Delete(ctx context.Context, param arguments.CompanyDelete) (int64, error)
- func (_m *IHandler) GetByID(ctx context.Context, param arguments.CompanyGetByID) (models.Company, error)
- func (_m *IHandler) GetByIDs(ctx context.Context, param arguments.CompanyGetByIDs) ([]models.Company, error)
- func (_m *IHandler) Insert(ctx context.Context, params arguments.CompanyInsert) (models.Company, error)
- func (_m *IHandler) List(ctx context.Context, params arguments.CompanyList) ([]models.Company, error)
- func (_m *IHandler) Update(ctx context.Context, params arguments.CompanyUpdate) (models.Company, error)
- type IRepository
- func (_m *IRepository) Count(ctx context.Context, params arguments.CompanyCount) (int64, error)
- func (_m *IRepository) Delete(ctx context.Context, param arguments.CompanyDelete) (int64, error)
- func (_m *IRepository) GetByID(ctx context.Context, param arguments.CompanyGetByID) (models.Company, error)
- func (_m *IRepository) GetByIDs(ctx context.Context, param arguments.CompanyGetByIDs) ([]models.Company, error)
- func (_m *IRepository) Insert(ctx context.Context, params arguments.CompanyInsert) (models.Company, error)
- func (_m *IRepository) List(ctx context.Context, params arguments.CompanyList) ([]models.Company, error)
- func (_m *IRepository) Update(ctx context.Context, params arguments.CompanyUpdate) (models.Company, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDatabase ¶
IDatabase is an autogenerated mock type for the IDatabase type
type IHandler ¶
IHandler is an autogenerated mock type for the IHandler type
func (*IHandler) GetByID ¶
func (_m *IHandler) GetByID(ctx context.Context, param arguments.CompanyGetByID) (models.Company, error)
GetByID provides a mock function with given fields: ctx, param
func (*IHandler) GetByIDs ¶
func (_m *IHandler) GetByIDs(ctx context.Context, param arguments.CompanyGetByIDs) ([]models.Company, error)
GetByIDs provides a mock function with given fields: ctx, param
func (*IHandler) Insert ¶
func (_m *IHandler) Insert(ctx context.Context, params arguments.CompanyInsert) (models.Company, error)
Insert provides a mock function with given fields: ctx, params
type IRepository ¶
IRepository is an autogenerated mock type for the IRepository type
func (*IRepository) Count ¶
func (_m *IRepository) Count(ctx context.Context, params arguments.CompanyCount) (int64, error)
Count provides a mock function with given fields: ctx, params
func (*IRepository) Delete ¶
func (_m *IRepository) Delete(ctx context.Context, param arguments.CompanyDelete) (int64, error)
Delete provides a mock function with given fields: ctx, param
func (*IRepository) GetByID ¶
func (_m *IRepository) GetByID(ctx context.Context, param arguments.CompanyGetByID) (models.Company, error)
GetByID provides a mock function with given fields: ctx, param
func (*IRepository) GetByIDs ¶
func (_m *IRepository) GetByIDs(ctx context.Context, param arguments.CompanyGetByIDs) ([]models.Company, error)
GetByIDs provides a mock function with given fields: ctx, param
func (*IRepository) Insert ¶
func (_m *IRepository) Insert(ctx context.Context, params arguments.CompanyInsert) (models.Company, error)
Insert provides a mock function with given fields: ctx, params
func (*IRepository) List ¶
func (_m *IRepository) List(ctx context.Context, params arguments.CompanyList) ([]models.Company, error)
List provides a mock function with given fields: ctx, params
func (*IRepository) Update ¶
func (_m *IRepository) Update(ctx context.Context, params arguments.CompanyUpdate) (models.Company, error)
Update provides a mock function with given fields: ctx, params