You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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")
|
|
|
|
}
|