Arctic Tern is a small MySQL migration library for Golang.
Execute
go get github.com/arikama/go-arctic-tern/arctictern
Code
package main
import (
"github.com/arikama/go-arctic-tern/arctictern"
)
func main() {
arctictern.Migrate(db, "./migration/example")
arctictern.Seed(db, "./seed/example")
}