2018-11-07 19:07:15 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-05-16 21:02:46 +00:00
|
|
|
"log"
|
|
|
|
|
2020-06-10 19:13:05 +00:00
|
|
|
"git.cryptic.systems/volker.raschek/flucky/cli"
|
2020-06-10 19:25:52 +00:00
|
|
|
|
2021-01-30 14:44:21 +00:00
|
|
|
_ "github.com/golang-migrate/migrate/v4/database/postgres"
|
|
|
|
_ "github.com/golang-migrate/migrate/v4/database/sqlite3"
|
2020-06-10 19:25:52 +00:00
|
|
|
_ "github.com/lib/pq"
|
|
|
|
_ "github.com/mattn/go-sqlite3"
|
2018-11-07 19:07:15 +00:00
|
|
|
)
|
|
|
|
|
2019-09-01 10:27:06 +00:00
|
|
|
var (
|
|
|
|
version string
|
|
|
|
)
|
2018-11-07 19:07:15 +00:00
|
|
|
|
|
|
|
func main() {
|
2021-05-16 21:02:46 +00:00
|
|
|
err := cli.Execute(version)
|
|
|
|
if err != nil {
|
|
|
|
log.Println(err)
|
|
|
|
}
|
2018-11-07 19:07:15 +00:00
|
|
|
}
|