shiori/main.go
2019-08-10 08:13:13 +07:00

24 lines
433 B
Go

//go:generate go run assets-generator.go
package main
import (
"github.com/go-shiori/shiori/internal/cmd"
"github.com/sirupsen/logrus"
// Database driver
_ "github.com/go-sql-driver/mysql"
_ "github.com/mattn/go-sqlite3"
// Add this to prevent it removed by go mod tidy
_ "github.com/shurcooL/vfsgen"
)
var dataDir = "dev-data"
func main() {
err := cmd.ShioriCmd().Execute()
if err != nil {
logrus.Fatalln(err)
}
}