GOMOD,将排除哪些文件夹/文件?
Golang使用GOMOD,将排除某些Floder/Files。例如示例/包括floder和 *_test.go类型文件。
那么,所有规则是什么?
Golang use gomod, Some floder/files will be excluded. Such as example/include floder and *_test.go type file.
So, What are all the rules?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
go tool documentation 说:
和
此外, build noreferrer> build command 说:
构建约束也可以用来忽略文件。
The Go tool documentation says:
and
Additionally, the documentation for the build command says:
Build constraints can also be used to ignore files.