Skip to content

drop +build tags#401

Merged
thockin merged 1 commit intogo-logr:masterfrom
pohly:build-tag-linter-fix
Nov 17, 2025
Merged

drop +build tags#401
thockin merged 1 commit intogo-logr:masterfrom
pohly:build-tag-linter-fix

Conversation

@pohly
Copy link
Contributor

@pohly pohly commented Nov 17, 2025

Our minimal Go version is 1.18, which already supported go:build (https://pkg.go.dev/go/build@go1.18#hdr-Build_Constraints).

Newer govet complains about the unnecessary +build, so let's remove them.

Our minimal Go version is 1.18, which already supported
go:build (https://pkg.go.dev/go/build@go1.18#hdr-Build_Constraints).

Newer govet complains about the unnecessary +build, so let's remove them.
@pohly pohly requested a review from thockin November 17, 2025 10:54
@pohly
Copy link
Contributor Author

pohly commented Nov 17, 2025

Same in go-logr/zapr#90

@thockin thockin merged commit 9da2084 into go-logr:master Nov 17, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants