Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove deprecated build tags #3361

Merged
merged 1 commit into from
May 6, 2024

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
8 checks passed
@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
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