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.
cloudreve/main.go

19 lines
272 B

5 years ago
package main
5 years ago
import (
"github.com/HFO4/cloudreve/bootstrap"
"github.com/HFO4/cloudreve/pkg/conf"
"github.com/HFO4/cloudreve/routers"
5 years ago
)
5 years ago
func init() {
bootstrap.Init("conf/conf.ini")
}
5 years ago
func main() {
5 years ago
api := routers.InitRouter()
api.Run(conf.SystemConfig.Listen)
5 years ago
5 years ago
}