GO.modに記載されているダウングレードしたいmoduleを全て削除する。
go mod tidyコマンドを実行する
以上!
参考リンク
Register as a new user and use Qiita more conveniently