Documentation
¶
Overview ¶
Package migrationfs exposes the embedded SQL migration files so that golang-migrate can apply them at runtime without needing the files present on the filesystem. The embed is done here (inside the migrations/ directory) because Go's //go:embed directive cannot use ".." path components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
FS holds all *.sql files in the migrations/ directory.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package sqlitemigrations exposes the embedded SQLite migration files so that golang-migrate can apply them at runtime without needing the files present on the filesystem.
|
Package sqlitemigrations exposes the embedded SQLite migration files so that golang-migrate can apply them at runtime without needing the files present on the filesystem. |
Click to show internal directories.
Click to hide internal directories.