Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read local files using pmgo #68

Open
Romybron opened this issue Feb 8, 2022 · 0 comments
Open

Unable to read local files using pmgo #68

Romybron opened this issue Feb 8, 2022 · 0 comments

Comments

@Romybron
Copy link

Romybron commented Feb 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant