Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MigrationBox ¶ added in v0.0.165
MigrationBox is a wrapper around pkger.Dir and Migrator. This will allow you to run migrations from migrations packed inside of a compiled binary.
func NewMigrationBox ¶ added in v0.0.165
NewMigrationBox from a packr.Dir and a Connection.
migrations, err := NewMigrationBox(pkger.Dir("/migrations"))
Click to show internal directories.
Click to hide internal directories.