Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IHealthRepo ¶
IHealthRepo declare repository functions
func CreateIRepo ¶
func CreateIRepo(rw *sqlx.DB) (IHealthRepo, error)
type MockIHealthRepo ¶
MockIHealthRepo is an autogenerated mock type for the IHealthRepo type
func NewMockIHealthRepo ¶
func NewMockIHealthRepo(t mockConstructorTestingTNewMockIHealthRepo) *MockIHealthRepo
NewMockIHealthRepo creates a new instance of MockIHealthRepo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockIHealthRepo) PingDatabase ¶
func (_m *MockIHealthRepo) PingDatabase(ctx contextx.Contextx) error
PingDatabase provides a mock function with given fields: ctx
Click to show internal directories.
Click to hide internal directories.