You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2021. It is now read-only.
This causes the go.mod file to change, which we do not want. See golang/go#27643. Is there an alternative approach to installing a tool without changing the dependency graph?
The text was updated successfully, but these errors were encountered:
I tried the tools.go, but for two out of three tools I use I get the following message:
cmd/kertificate/tools.go:7:2: import "github.com/google/addlicense" is a program, not an importable package
EDIT: Actually, the tools.go solution works if I put it in the root. The compiler therefore won't reach that file, but it's still considered for go.mod. I think this solution is good enough for now. The above issue is marked for milestone 1.14, so maybe we can revisit this later.
We do this in
make dev-go
:This causes the
go.mod
file to change, which we do not want. See golang/go#27643. Is there an alternative approach to installing a tool without changing the dependency graph?The text was updated successfully, but these errors were encountered: