Open storezhang opened 4 years ago
migration.go migrations := &migrate.HttpFileSystemMigrationSource{ FileSystem: pkger.Dir("/db/migration"), }
migrations := &migrate.HttpFileSystemMigrationSource{ FileSystem: pkger.Dir("/db/migration"), }
setps
1.pkger
2.go build xx.go
3.run exe file, get error
what if you replaced step 2 to
2.go build
migration.go
migrations := &migrate.HttpFileSystemMigrationSource{ FileSystem: pkger.Dir("/db/migration"), }
setps
1.pkger
2.go build xx.go
3.run exe file, get error