shiori/main.go
n8225 f1c98a8e98
Update Dependencies and Replace mattn/go-sqlite with modernc.org/sqlite (#345)
* No more CGO

* Update all dependencies to current

* Only test against go 1.17.
2022-02-11 13:59:49 +01:00

24 lines
422 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"
_ "modernc.org/sqlite"
// 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)
}
}