Documentation ¶
Index ¶
- type Store
- func (_m *Store) DeleteCategory(ctx context.Context, cat *categories.Category) error
- func (_m *Store) GetCategory(ctx context.Context, _a1 uuid.UUID) (*categories.Category, error)
- func (_m *Store) GetUserCategories(ctx context.Context, u *users.User) ([]*categories.Category, error)
- func (_m *Store) SaveCategory(ctx context.Context, cat *categories.Category) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. 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.
func (*Store) DeleteCategory ¶
DeleteCategory provides a mock function with given fields: ctx, cat
func (*Store) GetCategory ¶ added in v0.3.0
GetCategory provides a mock function with given fields: ctx, _a1
func (*Store) GetUserCategories ¶
func (_m *Store) GetUserCategories(ctx context.Context, u *users.User) ([]*categories.Category, error)
GetUserCategories provides a mock function with given fields: ctx, u
func (*Store) SaveCategory ¶
SaveCategory provides a mock function with given fields: ctx, cat
Click to show internal directories.
Click to hide internal directories.