2019-11-07 17:12:43 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"gitee.com/zhucheer/orange/app"
|
2019-12-24 20:40:44 +08:00
|
|
|
"gitee.com/zhucheer/orange/cfg"
|
2019-11-08 15:54:35 +08:00
|
|
|
"gitee.com/zhucheer/orange/project/http"
|
2019-11-07 17:12:43 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|
2019-12-24 20:40:44 +08:00
|
|
|
cfg.SetIntFlag("opennum", 1, "open num ")
|
|
|
|
|
2019-11-07 17:12:43 +08:00
|
|
|
router := &http.Route{}
|
|
|
|
app.AppStart(router)
|
|
|
|
|
|
|
|
}
|