You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !!
The text was updated successfully, but these errors were encountered:
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 withgonfig
. My binary does not throw this error while launching it withgo run {package}
or./{package}
.The file path for
gonfig
simply lools likeerr := gonfig.GetConf("config.prod.json", &config)
What path should I use ? thanks !!
The text was updated successfully, but these errors were encountered: