Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arikama/go-arctic-tern
Small migration package
https://github.com/arikama/go-arctic-tern
Last synced: about 1 month ago
JSON representation
Small migration package
- Host: GitHub
- URL: https://github.com/arikama/go-arctic-tern
- Owner: arikama
- License: mit
- Created: 2021-11-04T18:02:17.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T09:04:35.000Z (over 2 years ago)
- Last Synced: 2023-07-27T21:55:25.473Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Arctic Tern
[![build](https://github.com/arikama/go-arctic-tern/actions/workflows/build.yaml/badge.svg)](https://github.com/arikama/go-arctic-tern/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/arikama/go-arctic-tern/branch/master/graph/badge.svg?token=xTbyaIEFCN)](https://codecov.io/gh/arikama/go-arctic-tern)![Arctic Tern](./arctic_tern.jpeg)
[Arctic Tern](https://en.wikipedia.org/wiki/Arctic_tern#:~:text=The%20Arctic%20tern%20is%20famous%20for%20its%20migration) is a small MySQL migration library for [Golang](https://golang.org/).
## Usage
Execute
```
go get github.com/arikama/go-arctic-tern/arctictern
```Code
```go
package mainimport (
"github.com/arikama/go-arctic-tern/arctictern"
)func main() {
arctictern.Migrate(db, "./migration/example")
arctictern.Seed(db, "./seed/example")
}
```