aboutcode-org / aboutcode-org/scancode-toolkit

Use Go build naming conventions and directives for file categorization and dependency scopes

未关闭
#3,876 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

See:
- https://pkg.go.dev/cmd/go#hdr-Build_constraints
- https://github.com/DataDog/datadog-agent/blob/98e74f0d2b73c1b6ee8093d7087d11201e2c33d4/pkg/sbom/scanner/scanner_test.go#L6C1-L6C16
> //go:build test

- https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies
> When compiling packages, build ignores files that end in '_test.go'.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。