Skip to content

remove unused "+build" tags#556

Merged
zakird merged 2 commits into
zmap:mainfrom
stklcode:chore/flags
Aug 25, 2025
Merged

remove unused "+build" tags#556
zakird merged 2 commits into
zmap:mainfrom
stklcode:chore/flags

Conversation

@stklcode
Copy link
Copy Markdown
Contributor

We require Go >= 1.18 since v1.0.0 and do have redundant "go:build" tags present, so no need to provide legacy build tags.


Reference:

Since the release of Go 1.18 marks the end of support for Go 1.16, all supported versions of Go now understand //go:build lines. In Go 1.18, go fix now removes the now-obsolete // +build lines in modules declaring go 1.18 or later in their go.mod files.

https://tip.golang.org/doc/go1.18#go-build-lines

We require Go >= 1.18 since v1.0.0 and do have redundant "go:build" tags
present, so no need to provide legacy build tags.
@stklcode stklcode requested a review from a team as a code owner August 25, 2025 07:37
@zakird zakird enabled auto-merge (squash) August 25, 2025 14:57
@zakird zakird merged commit c5ff01d into zmap:main Aug 25, 2025
3 checks passed
@stklcode stklcode deleted the chore/flags branch August 25, 2025 15:02
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