go语言单元测试报错:missing go.sum entry for module providing package github.com/stretchr/testify/assert
报错:missing go.sum entry for module providing package github.com/stretchr/testify/assert (imported by GinCasbin/test);解决方法:❯ go mod edit -require github.com/gin-gonic/gin@latest❯ go mod tidy再执行go test成
·
报错:missing go.sum entry for module providing package github.com/stretchr/testify/assert (imported by GinCasbin/test);
解决方法:
❯ go mod edit -require github.com/gin-gonic/gin@latest
❯ go mod tidy
再执行go test成功:
更多推荐
已为社区贡献1条内容
所有评论(0)