aboutcode-org / aboutcode-org/scancode-toolkit

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

Open
#3,876 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

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'.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.