This commit is contained in:
crusader 2018-03-21 00:17:41 +09:00
parent e20a8715aa
commit b31928934d

View File

@ -2,6 +2,11 @@ package config
import "flag"
const (
LogConfigFilePathParamName = "log-config-path"
PidFilePathParamName = "pid-path"
)
func FlagConfigDir() *string {
return flag.String("config-dir", ".", "The directory path of config")
}