13 lines
235 B
Go
13 lines
235 B
Go
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")
|
|
}
|