Skip to content

arikama/go-arctic-tern

Repository files navigation

Arctic Tern

build codecov

Arctic Tern

Arctic Tern is a small MySQL migration library for Golang.

Usage

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")
}