Closed nicholaschiarulli closed 2 months ago
I registered the migration
func init() { goose.AddMigrationContext(Up, Down) }
but I get this error when running
if err := goose.Up(dbConn, "migrations"); err != nil { panic(err) }
failed to run Go migration: Go functions must be registered and built into a custom binary (see https://github.com/pressly/goose/tree/master/examples/go-migrations)
never mind I was importing the package wrong
I registered the migration
func init() { goose.AddMigrationContext(Up, Down) }
but I get this error when running
failed to run Go migration: Go functions must be registered and built into a custom binary (see https://github.com/pressly/goose/tree/master/examples/go-migrations)