Retract is Go 1.16, will not work with Go 1.15 or under. I need to clear the module cache, is there any way to achieve that?
On Saturday, May 1, 2021 at 3:27:59 AM UTC-4 Paul Jolly wrote: > Module retraction gives you a way of "undoing" the release. > > There is a "Play with Go" guide on the topic: > https://play-with-go.dev/retract-module-versions_go116_en/ (the guide > can be read without needing to use the interactive terminal) > > Also the reference documentation for the retract directive: > https://golang.org/ref/mod#go-mod-file-retract > > On Fri, 30 Apr 2021 at 22:57, Astha Jain <asthajai...@gmail.com> wrote: > > > > Hello, > > I accidentally created a release v1.0.0 for my public package, and it is > not cached in module cache. > > > > I deleted the release from git and created a new 0.x release for the > package. but when I do go get ..@latest, I still get 1.0.0 version. > > > > How do I go back? > > > > -- > > You received this message because you are subscribed to the Google > Groups "golang-nuts" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to golang-nuts...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/d83425f3-e4ca-4032-8181-01c0fc8848b9n%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/01dbd819-ecb5-4600-9227-4f8f419503afn%40googlegroups.com.