Documentation ¶
Index ¶
- type DAO
- func (_m *DAO) Count(ctx context.Context, query *q.Query) (int64, error)
- func (_m *DAO) Create(ctx context.Context, registry *dao.Registry) (int64, error)
- func (_m *DAO) Delete(ctx context.Context, id int64) error
- func (_m *DAO) Get(ctx context.Context, id int64) (*dao.Registry, error)
- func (_m *DAO) List(ctx context.Context, query *q.Query) ([]*dao.Registry, error)
- func (_m *DAO) Update(ctx context.Context, registry *dao.Registry, props ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
DAO is an autogenerated mock type for the DAO type
func NewDAO ¶
NewDAO creates a new instance of DAO. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.