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