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 (
|
|
"github.com/HFO4/cloudreve/bootstrap"
|
|
"github.com/HFO4/cloudreve/pkg/conf"
|
|
"github.com/HFO4/cloudreve/routers"
|
|
)
|
|
|
|
func init() {
|
|
bootstrap.Init("conf/conf.ini")
|
|
}
|
|
|
|
func main() {
|
|
api := routers.InitRouter()
|
|
|
|
api.Run(conf.SystemConfig.Listen)
|
|
|
|
}
|