解决办法
replace (
github.com/MakeNowJust/heredoc => github.com/MakeNowJust/heredoc v2.0.0+incompatible
)
报错 go list -m: github.com/MakeNowJust/heredoc@v2.0.0+incompatible: invalid version: module contains
![](https://img-home.csdnimg.cn/images/20240711042549.png)
解决办法
replace (
github.com/MakeNowJust/heredoc => github.com/MakeNowJust/heredoc v2.0.0+incompatible
)