NewEnvironmentC returns a new Environment with config. Requirements for config are same as for WithConfig function. Example: env := NewEnvironmentC(config)
(config Config)
| 41 | // |
| 42 | // env := NewEnvironmentC(config) |
| 43 | func NewEnvironmentC(config Config) *Environment { |
| 44 | return newEnvironment(newChainWithConfig("Environment()", config.withDefaults())) |
| 45 | } |
| 46 | |
| 47 | func newEnvironment(parent *chain) *Environment { |
| 48 | return &Environment{ |
searching dependent graphs…