Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
RandomString generates a random string of length `n`.
func SetLogger ¶
func SetLogger(l *zap.SugaredLogger)
Types ¶
type DB ¶
func OpenTestDB ¶
func OpenTestDB() *DB
OpenTestDB opens an in-memory sqlite database for use in tests.
func (*DB) MigrateDown ¶
func (*DB) MigrateDownFromFile ¶
func (*DB) MigrateUpFromFile ¶
Click to show internal directories.
Click to hide internal directories.