sql-migrate https://github.com/rubenv/sql-migrate
$ govendor sync
$ vim ./dbconfig.yml
$ sql-migrate up
$ vim ./config/config.go
$ GO_ENV=unit-test go test ./...
$ go run main.go
Visit localhost:8080
| Name | Name | Last commit date | ||
|---|---|---|---|---|
$ govendor sync
$ vim ./dbconfig.yml
$ sql-migrate up
$ vim ./config/config.go
$ GO_ENV=unit-test go test ./...
$ go run main.go
Visit localhost:8080