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
gty-migrate-from-testify brings its own dependencies which are not used in general for users of gotest.tools/v3/assert.
By defining a new Go module for gty-migrate-from-testify, the dependency problem will be contained. golang.org/x/tools will disapear from the root go.mod.
How to do it:
cd assert/cmd/gty-migrate-from-testifygo mod init gotest.tools/assert/cmd/gty-migrate-from-testifygo mod tidygit add go.mod go.sumsed -i= 's!gotest.tools/v3/assert/cmd/gty-migrate-from-testify!gotest.tools/assert/cmd/gty-migrate-from-testify/v1!' doc.gogit add doc.go cd ../..go mod tidy # Cleanup dependencies which were used only by gty-migrate-from-testifygit add go.mod go.sumsed -i= 's!gotest.tools/v3/assert/cmd/gty-migrate-from-testify!gotest.tools/assert/cmd/gty-migrate-from-testify/v1!' assert/assert.gogit add assert/assert.gogit commit -m "assert/cmd/gty-migrate-from-testify: define Go module"git tag -a assert/cmd/gty-migrate-from-testify/v1.0.0git push --tags
The text was updated successfully, but these errors were encountered:
gty-migrate-from-testify
brings its own dependencies which are not used in general for users ofgotest.tools/v3/assert
.By defining a new Go module for
gty-migrate-from-testify
, the dependency problem will be contained.golang.org/x/tools
will disapear from the rootgo.mod
.How to do it:
The text was updated successfully, but these errors were encountered: