pmgo
pmgo copied to clipboard
Unable to read local files using pmgo
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 !!