Cloudreve/main.go
2019-11-09 18:06:29 +08:00

20 lines
214 B
Go

package main
import (
"Cloudreve/models"
"Cloudreve/pkg/conf"
"Cloudreve/routers"
)
func init() {
conf.Init("conf/conf.ini")
model.Init()
}
func main() {
api := routers.InitRouter()
api.Run(":5000")
}