Skip to content

Conversation

@ssagarverma
Copy link

Description

  • Replaced all deprecated // +build directives with the modern //go:build form introduced in Go 1.17. This modernizes build constraints to align with the Go 1.24 toolchain and removes obsolete syntax flagged by go vet linter.

  • No runtime or functional behavior changes.

⚠️ Notes:

  • This change drops compatibility with Go versions earlier than 1.17, as they do not support the //go:build syntax.

Related Issue

How Has This Been Tested?

golangci-lint cache clean && golangci-lint run ./...
go test ./...

- Replaced all deprecated // +build directives with the modern //go:build form
introduced in Go 1.17. This modernizes build constraints to align with the Go 1.24
toolchain and removes obsolete syntax flagged by go vet linter.

- No runtime or functional behavior changes.

⚠️ Note: This change drops compatibility with Go versions earlier than 1.17,
as they do not support the //go:build syntax.
@ssagarverma ssagarverma requested a review from a team as a code owner November 10, 2025 12:44
@ssagarverma ssagarverma changed the title [IND-4227][COMPLIANCE] Update build tags to modern format [IND-4227][COMPLIANCE] chore: Update build tags to modern format Nov 10, 2025
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.

1 participant