shiori/main.go
2019-09-24 19:59:25 +03:00

23 lines
430 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/lib/pq"
_ "github.com/mattn/go-sqlite3"
// Add this to prevent it removed by go mod tidy
_ "github.com/shurcooL/vfsgen"
)
func main() {
err := cmd.ShioriCmd().Execute()
if err != nil {
logrus.Fatalln(err)
}
}