a8m / envsubst

Environment variables substitution for Go
MIT License
747 stars 83 forks source link

convert Env to an interface and implement a Functor variant. #26

Closed UiP9AV6Y closed 1 year ago

UiP9AV6Y commented 3 years ago

when dealing with a large environment (i.e. lots of environment variables), the slice based lookup becomes inperformant. os also allows variable lookups based on keys, which the Functor implementation uses for its core logic.