pmgo icon indicating copy to clipboard operation
pmgo copied to clipboard

Unable to read local files using pmgo

Open Romybron opened this issue 3 years ago • 0 comments

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 !!

Romybron avatar Feb 08 '22 18:02 Romybron