Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo interface { CreateMock(model *Mock) (id uint, err error) GetMockById(id uint) (model *Mock, err error) ListMocksByCondition(req *request.ListRequest) (r []*response.ListData, count int64, err error) UpdateMockById(id uint, m map[string]interface{}) error DeleteMockById(id uint) error }
定义Database查询接口
Click to show internal directories.
Click to hide internal directories.