Documentation ¶
Index ¶
- type Store
- func (_m *Store) Create(ctx context.Context, req *favorites.SaveRequest) error
- func (_m *Store) Delete(ctx context.Context, userId string, id string) error
- func (_m *Store) Get(ctx context.Context, id string) (*favorites.Favorite, error)
- func (_m *Store) List(ctx context.Context, userId string) ([]*favorites.Favorite, error)
- func (_m *Store) Liveness(ctx context.Context) error
- func (_m *Store) Update(ctx context.Context, req *favorites.SaveRequest, id string) 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.
Click to show internal directories.
Click to hide internal directories.