EnvironmentOf creates a new `Environment` initialized with the givne `Fetcher`, "f".
(f Fetcher)
| 54 | // EnvironmentOf creates a new `Environment` initialized with the givne |
| 55 | // `Fetcher`, "f". |
| 56 | func EnvironmentOf(f Fetcher) Environment { |
| 57 | return &environment{f} |
| 58 | } |
| 59 | |
| 60 | func (e *environment) Get(key string) (val string, ok bool) { |
| 61 | return e.Fetcher.Get(key) |
no outgoing calls