Documentation ¶
Index ¶
- type DB
- func (_m *DB) Get(ctx context.Context, roller string, issue int64) (*autoroll.AutoRollIssue, error)
- func (_m *DB) GetRolls(ctx context.Context, roller string, cursor string) ([]*autoroll.AutoRollIssue, string, error)
- func (_m *DB) Put(ctx context.Context, roller string, roll *autoroll.AutoRollIssue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
DB is an autogenerated mock type for the DB type
func NewDB ¶
NewDB creates a new instance of DB. 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.