Documentation ¶
Index ¶
- type Store
- func (_m *Store) DeleteShortcut(ctx context.Context, id string, tx pgx.Tx) error
- func (_m *Store) Get(ctx context.Context, id string) (*shortcut.Shortcut, error)
- func (_m *Store) GetAll(ctx context.Context) (<-chan *shortcut.Shortcut, error)
- func (_m *Store) Insert(ctx context.Context, r io.Reader) (string, error)
- func (_m *Store) InsertShortcut(ctx context.Context, _a1 *shortcut.Shortcut) (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.
func (*Store) DeleteShortcut ¶
DeleteShortcut provides a mock function with given fields: ctx, id, tx
Click to show internal directories.
Click to hide internal directories.