diff --git a/environment.go b/environment.go index f10aea2..96075d9 100644 --- a/environment.go +++ b/environment.go @@ -23,9 +23,9 @@ type Environment struct { // functionality to the environment. In order to be used, values in this // slice must implement one or more of the interfaces in provider.go. Providers []Provider - // Conf specifies configuration data. It is used to configure the + // Config specifies configuration data. It is used to configure the // environment, as well as plugins that get loaded. - Conf Meta + Config Meta documents usync.Locker[map[string] *Document] funcMap template.FuncMap @@ -37,13 +37,13 @@ func (this *Environment) Init (ctx context.Context) error { this.funcMap = make(template.FuncMap) for _, provider := range this.Providers { if provider, ok := provider.(ConfigProcessor); ok { - err := provider.ProcessConfig(this.Conf) + err := provider.ProcessConfig(this.Config) if err != nil { return err } } } for _, provider := range this.Providers { if provider, ok := provider.(Configurable); ok { - err := provider.Configure(this.Conf) + err := provider.Configure(this.Config) if err != nil { return err } } if provider, ok := provider.(FuncProvider); ok {