go代码补充go.mod和go.sum配置文件

go mod init 项目名

go run 主要的go文件

根据报错,复制缺少的包地址

go get 包地址

猜你喜欢

转载自blog.csdn.net/xgocn/article/details/134154106