2

我想从 Go 应用程序安装 Helm 图表。正如文档所建议的那样,我正在加载图表

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

我怎样才能导入这个包?

4

0 回答 0