Cloudreve/main.go

19 lines
164 B
Go
Raw Normal View History

2019-11-04 07:30:12 -05:00
package main
2019-11-04 23:31:22 -05:00
import (
2019-11-07 02:56:05 -05:00
"Cloudreve/models"
2019-11-04 23:31:22 -05:00
"Cloudreve/routers"
)
2019-11-04 07:30:12 -05:00
2019-11-07 02:56:05 -05:00
func init() {
model.Init()
}
2019-11-04 07:30:12 -05:00
func main() {
2019-11-04 23:31:22 -05:00
api := routers.InitRouter()
api.Run(":5000")
2019-11-04 07:30:12 -05:00
}