1.go get: installing executables with ‘go get‘ in module mode is deprecated.
是不同版本的用法问题。
具体问题可参考此答案:
执行的话 ./生成的可执行文件即可
在Go 1.17版本中,使用`go get`安装可执行文件已被弃用。推荐的做法是直接在项目目录下通过`go build`编译,然后执行生成的可执行文件。
1.go get: installing executables with ‘go get‘ in module mode is deprecated.
是不同版本的用法问题。
具体问题可参考此答案:
执行的话 ./生成的可执行文件即可
5075

被折叠的 条评论
为什么被折叠?