flag 자체 구현
This commit is contained in:
@ -4,8 +4,12 @@ import (
|
||||
"encoding/json"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"repositories.action2quare.com/ayo/gocommon/flagx"
|
||||
)
|
||||
|
||||
var configfileflag = flagx.String("config", "", "")
|
||||
|
||||
func configFilePath() string {
|
||||
configfilepath := "config.json"
|
||||
if configfileflag != nil && len(*configfileflag) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user