Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoMigrations occurs if no migration files can be found on disk ErrNoMigrations = errors.New("no migrations found") )
Functions ¶
func GetConnStr ¶
GetConnStr returns a connection string for the database software used
func IsMigrated ¶
IsMigrated returns true if the database is migrated to the latest migration in the db/migrations folder. It also returns the current database migration version number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.