Commit a08b7ca2 by mushishixian

日志

parent 171bd856
Showing with 2 additions and 0 deletions
......@@ -16,6 +16,7 @@ import (
)
var ConfigDir string
var LogDir string
var err error
var engine *gorose.Engin
......@@ -32,6 +33,7 @@ func init() {
func initArgs() {
//go run main.go -configDir xxx
flag.StringVar(&ConfigDir, "configDir", "", "配置文件")
flag.StringVar(&LogDir, "logDir", "", "配置文件")
flag.Parse()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment