Versions in this module Expand all Collapse all v0 v0.1.0 Oct 14, 2023 Changes in this version + func EnsureMigrationTableExistsCh(db *sqlx.DB) chan types.Done + func GetDB() *sqlx.DB + func GetLiveMigrationInfoCh(db *sqlx.DB, migrationFs embed.FS) chan MigrationState + func GetMockDB() (*sqlx.DB, sqlmock.Sqlmock) + func MigrateDownCh(db *sqlx.DB, migrationFs embed.FS) chan types.Done + func MigrateUpCh(db *sqlx.DB, migrationFs embed.FS) chan types.Done + func SetupServer(engine *gin.Engine, db *sqlx.DB, templateFS embed.FS, staticFs embed.FS) + type MigrationState struct + AvailableVersion int + InstalledVersion int + Migrations []migrationFileInfo + type MigrationsTable struct + InstalledAt time.Time + Version int