> go clean -modcache It seems that the only way is to clean all packages.
Thank you very much! Ge 在2020年7月7日星期二 UTC+8 下午5:51:17<seank...@gmail.com> 写道: > go clean -modcache > > On Tuesday, July 7, 2020 at 9:23:50 AM UTC+2 HailangGe wrote: > >> >> Thanks. I'm just trying to look for if there are any way to clean them in >> a programmer's way. >> 在2020年7月7日星期二 UTC+8 下午1:26:16<Amnon> 写道: >> >>> Just delete them all. >>> Your next build will repopulate the ones that are needed. >>> >> -- 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/6ffdfc24-0411-4828-a0de-eb7bd15f65cfn%40googlegroups.com.