code: func (c *dependencyCompiler) resolvePackageDependencies(releasePackage *birelpkg.Package, packageMap map[string]*birelpkg.Package) {
  	for _, dependency := range releasePackage.Dependencies {
  		// only add un-added packages, to avoid endless looping in case of cycles
  		pkgKey := c.pkgKey(dependency)
  		if _, found := packageMap[pkgKey]; !found {
  			packageMap[pkgKey] = dependency
  			c.resolvePackageDependencies(releasePackage, packageMap)
  		}
  	}
  }
docs: // resolvePackageDependencies adds the releasePackage's dependencies to the packageMap recursively