envResolver returns resolver for environment variables suitable for the current platform. Expected to be used with `MappingWithEquals.Resolve`. Updates in `environment` may not be reflected.
(environment map[string]string)
| 28 | // Expected to be used with `MappingWithEquals.Resolve`. |
| 29 | // Updates in `environment` may not be reflected. |
| 30 | func envResolver(environment map[string]string) func(string) (string, bool) { |
| 31 | return envResolverWithCase(environment, isCaseInsensitiveEnvVars) |
| 32 | } |
| 33 | |
| 34 | // envResolverWithCase returns resolver for environment variables with the specified case-sensitive condition. |
| 35 | // Expected to be used with `MappingWithEquals.Resolve`. |
no test coverage detected