Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationLogger ¶
MigrationLogger implements the migrate.Logger interface
func WrapMigrationLogger ¶
func WrapMigrationLogger(l *logrus.Logger) *MigrationLogger
WrapMigrationLogger returns a logger that can be used during migrations
func (*MigrationLogger) Verbose ¶
func (l *MigrationLogger) Verbose() bool
Verbose checks if verbose logging should be used
type Store ¶
type Store interface { Migrate() error GetAll() ([]types.User, error) GetByID(id string) (*types.User, error) GetByEmail(email string) (*types.User, error) Create(*types.User) error Update(*types.User) error Delete(*types.User) error }
Store is an interface for interacting with a backend user store
Directories ¶
Path | Synopsis |
---|---|
migrations
Code generated for package migrations by go-bindata DO NOT EDIT.
|
Code generated for package migrations by go-bindata DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.