Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigrationContext ¶
MigrationContext holds all the settings we want to share with migration scripts.
NOTE: this is important to declare this in a separate package, and avoid cyclic import dependencies.
func FromContext ¶
func FromContext(ctx context.Context) (MigrationContext, error)
FromContext retrieves the app context from the context.
Click to show internal directories.
Click to hide internal directories.