编译报错
google.golang.org/grpc/credentials/insecure: module google.golang.org/grpc@latest found (v1.47.0, replaced by google.golang.org/grpc@v1.26.0), but does not contain package google.golang.org/grpc/credentials/insecure
代码中使用了"google.golang.org/grpc/credentials/insecure",而所使用的grpc版本没有导致的
解决:
mod文件中改用较高版本的grpc即可
如v1.40、v1.46等等