Versions in this module Expand all Collapse all v1 v1.0.1 Mar 20, 2022 Changes in this version + type Migrator interface + CreateDb func() error + Down func() (err error) + Migrate func(version uint) (err error) + Up func() (err error) + func NewPostgres(migrations embed.FS, ...) (Migrator, error) + type PostgresMigrator struct + func (m *PostgresMigrator) CreateDb() error + func (m *PostgresMigrator) Down() (err error) + func (m *PostgresMigrator) Migrate(version uint) (err error) + func (m *PostgresMigrator) Up() (err error) v1.0.0 Mar 20, 2022