mirror of
https://github.com/go-shiori/shiori.git
synced 2024-11-15 05:34:45 +08:00
23 lines
430 B
Go
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)
|
|
}
|
|
}
|