2021-09-28 11:47:19 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-12-28 09:18:32 +08:00
|
|
|
"SciencesServer/cmd"
|
2021-09-28 11:47:19 +08:00
|
|
|
"flag"
|
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
|
|
|
// @title SciencesServer API文档
|
|
|
|
// @version 1.0
|
|
|
|
// @description SciencesServer API文档
|
|
|
|
// @host 192.168.0.153:9000
|
|
|
|
|
|
|
|
// @contact.name Henry
|
|
|
|
// @contact.url https://ipeace.org.cn
|
|
|
|
// @contact.email email@ipeace.org.cn
|
|
|
|
func main() {
|
|
|
|
flag.Parse()
|
|
|
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
2021-12-28 09:18:32 +08:00
|
|
|
//figure.NewFigure("SciencesServer", "", true).Print()
|
|
|
|
//serve.NewServe()(&serve.Option{Config: *ConfigFile, RpcConfig: *RpcConfigFile}).Run()
|
|
|
|
cmd.Execute()
|
2021-09-28 11:47:19 +08:00
|
|
|
}
|