tevjef/go-runtime-metrics

Use environment variable in place of flag

montanaflynn opened this issue · 1 comments

As this is to be used as a library I think having the need to call flag.Parse() to be a bad practice. Instead you could check for an environment variable or expose the variable directly which can be set after importing the package.

I'm currently working on a PR #4 for this issue.