折腾不止 Golang 如何更新Go mod 中的依赖 引言 在 golang 中对依赖的更新没有比较舒服的更新方式, 比如 php 中 composer 的更新依赖就很方便 以下内容可以来处理更新依赖 查看有更新的直接依赖项的方法 go list -u -f '{{if (and (not (or .Main .In...