Skip to content

drop +build tags - #401

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

thockin merged 1 commit into
go-logr:masterfrom
pohly:build-tag-linter-fix

Conversation

@pohly

@pohly pohly commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

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

pohly commented Nov 17, 2025

Copy link
Copy Markdown
Contributor Author

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