config 중복 수정

This commit is contained in:
2023-06-20 17:02:09 +09:00
parent 15ba3e93d6
commit 174830ff5f
5 changed files with 11 additions and 76 deletions

View File

@ -2,13 +2,10 @@ package gocommon
import (
"encoding/json"
"flag"
"os"
"time"
)
var configfileflag = flag.String("config", "", "")
func configFilePath() string {
configfilepath := "config.json"
if configfileflag != nil && len(*configfileflag) > 0 {