我想从Go应用程序安装Helm图表。根据{{3}}的建议,我正在使用
加载图表chart, err := loader.Load(filename)
但是,当尝试使用dep ensure -add k8s.io/helm/pkg/chart/loader
添加此依赖项时,出现错误:
Solving failure: No versions of k8s.io/helm met constraints:
v3.0.1: unable to deduce repository and source type for "helm.sh/helm/v3/internal/ignore": unable to read metadata: unable to parse go-import metadata: XML syntax error on line 1: expected /> in element
如何导入此软件包?