参考 https://blog.csdn.net/benben_2015/article/details/82227338

1、初始化一个模块

go mod init wserver

2、自动更新依赖关系 (会生成go.sum 并更新go.mod)

nidazhongdeMacBook-Pro:wserver nidazhong$ go mod tidy
go: finding github.com/deckarep/golang-set v1.7.1
go: downloading github.com/deckarep/golang-set v1.7.1

相关文章:

  • 2021-11-08
  • 2021-11-19
  • 2021-09-11
  • 2021-07-06
  • 2021-10-15
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-11-20
  • 2021-06-07
相关资源
相似解决方案