gobuffalo / envy

Envy makes working with ENV variables in Go trivial.
MIT License
156 stars 21 forks source link

removed CurrentPackage() since envy only support go module mode #39

Closed sio4 closed 2 years ago

sio4 commented 2 years ago

As of v1.7.1 it supports go 1.13 or higher and as of v1.9.0 Mods() was technically deprecated. However, we still have CurrentPackge() and it should be deprecated since the result of the function is not meaningful anymore.

This PR could be a breaking change but I would suggest removing the function as soon as possible and then I will track if there are some broken packages within gobuffalo projects as an additional task of https://github.com/gobuffalo/buffalo/issues/2152.

Fixes #37