Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateDatabase ¶
MigrateDatabase executes the golang-migrations SQL files. steps allow selective migrations: 0: migrate all the way up, positive: migrate that many steps up, negative: migrate steps down
Types ¶
type CustomFile ¶ added in v0.5.4
type CustomFile struct { io.ReadCloser // contains filtered or unexported fields }
type EmbedFSWrapper ¶ added in v0.5.4
type EmbedFSWrapper struct {
// contains filtered or unexported fields
}
func NewEmbedFSWrapper ¶ added in v0.5.4
func NewEmbedFSWrapper(efs embed.FS) EmbedFSWrapper
Click to show internal directories.
Click to hide internal directories.