aboutcode-org / aboutcode-org/scancode-toolkit

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

Đang mở
#3,876 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.