Skip to content

refactor: remove obsolete // +build tag#616

Merged
zquestz merged 1 commit intogcash:masterfrom
huyejia:master
Feb 9, 2026
Merged

refactor: remove obsolete // +build tag#616
zquestz merged 1 commit intogcash:masterfrom
huyejia:master

Conversation

@huyejia
Copy link
Contributor

@huyejia huyejia commented Feb 9, 2026

From Go 1.17, the preferred syntax for build constraints is //go:build,
which replaces the old // +build form. The old style is now considered
deprecated but still supported for backward compatibility.

This change removes the obsolete // +build xxx line, keeping only the
modern //go:build xxx directive.

More info: golang/go#41184 and https://go.dev/doc/go1.17#build-lines

Design Doc / Proposal:
https://go.dev/design/draft-gobuild

Signed-off-by: huyejia <huyejia@outlook.jp>
@zquestz zquestz merged commit 959b87b into gcash:master Feb 9, 2026
1 check 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