Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IProjectBiz ¶
type IProjectBiz interface { // InitProject serve caller to initialize project InitProject(ctx contextx.Contextx, prj *project.Info) error }
IProjectBiz declare project functions
func CreateBiz ¶
func CreateBiz(repo2 repo.IProjectRepo) (IProjectBiz, error)
type MockIProjectBiz ¶
MockIProjectBiz is an autogenerated mock type for the IProjectBiz type
func NewMockIProjectBiz ¶
func NewMockIProjectBiz(t mockConstructorTestingTNewMockIProjectBiz) *MockIProjectBiz
NewMockIProjectBiz creates a new instance of MockIProjectBiz. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockIProjectBiz) InitProject ¶
func (_m *MockIProjectBiz) InitProject(ctx contextx.Contextx, prj *entityproject.Info) error
InitProject provides a mock function with given fields: ctx, prj
Click to show internal directories.
Click to hide internal directories.