Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
type Migrator interface { // Up applies the migration and returns whether it was applied and any error that occurred. Up(applied bool, err error) // Down rolls back the migration and returns whether it was rolled back and any error that occurred. Down(applied bool, err error) }
Migrator is an interface for database migrations.
Click to show internal directories.
Click to hide internal directories.