mirror of
https://github.com/go-shiori/shiori.git
synced 2024-11-16 06:06:31 +08:00
24 lines
433 B
Go
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)
|
|
}
|
|
}
|