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 clean -modcache
go mod init example
go mod tidy
go: downloading github.com/uptrace/go-clickhouse/ch v0.0.0-20220308124651-82a5d8d72ef7
go: downloading github.com/uptrace/go-clickhouse v0.2.2
The problem is that Go installs github.com/uptrace/go-clickhouse/ch package that was never properly released but was installed once using Git revision. github.com/uptrace/go-clickhouse/ch/go.mod is long gone from the repository. I want github.com/uptrace/go-clickhouse v0.2.2 to be installed instead.
How can I completely remove github.com/uptrace/go-clickhouse/ch from the cache?
The text was updated successfully, but these errors were encountered:
To retract it, I need to update go.mod file for the package github.com/uptrace/go-clickhouse/ch. Such package does not exist any more and go.mod is gone. The package was replaced with github.com/uptrace/go-clickhouse.
I could restore go.mod for github.com/uptrace/go-clickhouse/ch to retract the old version. But then Go will cache a new version for that package and I will have the same problem. I want the package github.com/uptrace/go-clickhouse/ch to be completely gone.