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
go-sockaddr is used in HashiCorp core modules such as go-secure-stdlib/parseutil. go-sockaddr Go module includes cmd/sockaddr which depends on modules used only for this CLI tool. Those features bring their own dependencies which are not needed by the core go-sockaddr functionality.
I propose to drop cmd/sockaddr/vendor and to create a separate Go module for cmd/sockaddr:
cd cmd/sockaddrgo mod init github.com/hashicorp/go-sockaddr/cmd/sockaddrrm -Rf vendorgo get github.com/hashicorp/[email protected]go get github.com/mitchellh/[email protected]go get github.com/mitchellh/[email protected]go get github.com/ryanuber/[email protected]+incompatiblego get github.com/hashicorp/[email protected]git add go.mod go.sumcd ..go mod tidygit add go.mod go.sumgit commit -m "Create Go module for cmd/sockaddr"git tag v1.0.3git push --tagscd cmd/sockaddrgo get github.com/hashicorp/[email protected]go mod tidygit add go.mod go.sumgit commitgit tag cmd/go-sockaddr/v1.0.3git push --tags
The text was updated successfully, but these errors were encountered:
go-sockaddr
is used in HashiCorp core modules such asgo-secure-stdlib/parseutil
.go-sockaddr
Go module includescmd/sockaddr
which depends on modules used only for this CLI tool. Those features bring their own dependencies which are not needed by the corego-sockaddr
functionality.I propose to drop
cmd/sockaddr/vendor
and to create a separate Go module forcmd/sockaddr
:The text was updated successfully, but these errors were encountered: