I just started to use pmgo and I ran into no such file or directory error when trying to read from a local json file with gonfig. My binary does not throw this error while launching it with go run {package} or ./{package}.
The file path for gonfig simply lools like err := gonfig.GetConf("config.prod.json", &config)
What path should I use ? thanks !!
I just started to use pmgo and I ran into
no such file or directoryerror when trying to read from a local json file withgonfig. My binary does not throw this error while launching it withgo run {package}or./{package}.The file path for
gonfigsimply lools likeerr := gonfig.GetConf("config.prod.json", &config)What path should I use ? thanks !!