Env returns the Nature of the given environment. Deprecated: use EnvWithCache instead.
(env any)
| 13 | // |
| 14 | // Deprecated: use EnvWithCache instead. |
| 15 | func Env(env any) Nature { |
| 16 | return EnvWithCache(new(Cache), env) |
| 17 | } |
| 18 | |
| 19 | func EnvWithCache(c *Cache, env any) Nature { |
| 20 | if env == nil { |
nothing calls this directly
no test coverage detected