Skip to content

Conversation

@alexandear
Copy link
Contributor

This PR removes outdated in Go 1.21 // +build comments by running the command:

go fix -fix buildtag ./...

From the https://pkg.go.dev/cmd/go#hdr-Build_constraints:

Go versions 1.16 and earlier used a different syntax for build constraints, with a "// +build" prefix. The gofmt command will add an equivalent //go:build constraint when encountering the older syntax.

@kyleconroy kyleconroy merged commit b0dcb68 into sqlc-dev:main May 6, 2024
@alexandear alexandear deleted the chore/fix-deprecated-buildtag branch May 6, 2024 18:43
lisitsky pushed a commit to lisitsky/sqlc that referenced this pull request Jun 21, 2024
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 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.

2 participants