Skip to content

Unable to read local files using pmgo #68

Description

@Romybron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions