project

package
v0.0.0-...-2f019a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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)

func NewImpl

func NewImpl(repo repo.IProjectRepo) IProjectBiz

NewImpl return IProjectBiz

type MockIProjectBiz

type MockIProjectBiz struct {
	mock.Mock
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL