Skip to content

Instantly share code, notes, and snippets.

@superherointj
Created May 8, 2021 22:01
Show Gist options
  • Save superherointj/357260cb759aa6b234b642db8b725167 to your computer and use it in GitHub Desktop.
Save superherointj/357260cb759aa6b234b642db8b725167 to your computer and use it in GitHub Desktop.
# $ go generate -mod=readonly ./pkg/charts/static
# $ go generate -mod=readonly ./pkg/charts/static
go: inconsistent vendoring in /home/intj/git/nixpkgs/source:
contrib.go.opencensus.io/exporter/ocagent@v0.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/goutils@v1.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/semver@v1.5.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/Masterminds/sprig@v2.22.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/briandowns/spinner@v0.0.0-20190212173954-5cf08d0ac778: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/clarketm/json@v1.13.4: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/containernetworking/cni@v0.6.1-0.20180218032124-142cde0c766c: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/cyphar/filepath-securejoin@v0.2.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/elazarl/goproxy@v0.0.0-20190711103511-473e67f1d7d2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/elazarl/goproxy/ext@v0.0.0-20190711103511-473e67f1d7d2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/emicklei/proto@v1.6.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/evanphx/json-patch@v4.9.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fatih/color@v1.9.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/fsnotify/fsnotify@v1.4.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/ghodss/yaml@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/go-openapi/spec@v0.19.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gobwas/glob@v0.2.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/golang/protobuf@v1.4.3: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/gorilla/websocket@v1.4.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/grpc-ecosystem/go-grpc-prometheus@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/huandu/xstrings@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/imdario/mergo@v0.3.7: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/julienschmidt/httprouter@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/linkerd/linkerd2-proxy-api@v0.1.15: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/linkerd/linkerd2-proxy-init@v1.3.9: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/go-isatty@v0.0.12: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mattn/go-runewidth@v0.0.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/mitchellh/copystructure@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/nsf/termbox-go@v0.0.0-20180613055208-5c94acc5e6eb: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/onsi/gomega@v1.8.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/patrickmn/go-cache@v2.1.0+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/pkg/browser@v0.0.0-20170505125900-c90ca0c84f15: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/client_golang@v1.7.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/prometheus/common@v0.10.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/sergi/go-diff@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/servicemeshinterface/smi-sdk-go@v0.4.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/shurcooL/httpfs@v0.0.0-20190707220628-8d4bc4ba7749: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/shurcooL/vfsgen@v0.0.0-20181202132449-6a9ea43bcacd: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/sirupsen/logrus@v1.6.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/spf13/cobra@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/spf13/pflag@v1.0.5: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/stretchr/testify@v1.5.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
go.opencensus.io@v0.22.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/net@v0.0.0-20200707034311-ab3426394381: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
golang.org/x/tools@v0.0.0-20200616133436-c1934b75d054: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/grpc@v1.31.1: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
google.golang.org/protobuf@v1.24.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/api@v0.19.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/apiextensions-apiserver@v0.19.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/apimachinery@v0.19.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/client-go@v0.19.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/code-generator@v0.19.2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/helm@v2.16.8+incompatible: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/klog/v2@v2.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
k8s.io/kube-aggregator@v0.18.8: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
sigs.k8s.io/yaml@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
github.com/grpc-ecosystem/grpc-gateway: is replaced in go.mod, but not marked as replaced in vendor/modules.txt
To ignore the vendor directory, use -mod=readonly or -mod=mod.
To sync the vendor directory, run:
go mod vendor
pkg/charts/static/templates.go:1: running "go": exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment