go sql-migrate goose code example
Example 1: go goose
$ go get -u github.com/pressly/goose/cmd/goose
Example 2: goose create migration
$ goose create add_some_column sql
$ Created new file: 20170506082420_add_some_column.sql
$ go get -u github.com/pressly/goose/cmd/goose
$ goose create add_some_column sql
$ Created new file: 20170506082420_add_some_column.sql