func newCfgResolution() CfgResolution { return CfgResolution{ Cfg: syscfg.NewCfg(), ApiMap: map[string]*pkg.LocalPackage{}, UnsatisfiedApis: map[string][]*pkg.LocalPackage{}, } }
func newResolver() *Resolver { return &Resolver{ apis: map[string]*ResolvePackage{}, pkgMap: map[*pkg.LocalPackage]*ResolvePackage{}, injectedSettings: map[string]string{}, cfg: syscfg.NewCfg(), } }