We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It could be useful to be able to emit // go:build some-tag into the golang generated files
// go:build some-tag
This way I can, for example, exclude them when running coverage tests 😇
No response
Go
The text was updated successfully, but these errors were encountered:
This seems like a pretty easy option to add to the sqlc v2 gen/go config, if someone wants to take a crack at it.
Sorry, something went wrong.
@kyleconroy
I find this feature very useful, and I'd like to try contributing. Would that be okay?
feat(codegen): add support for build tags (sqlc-dev#2012)
d3dde8e
feat(codegen): Support setting Go build tags (#2012) (#2807)
7dc0e7c
* feat(codegen): add support for build tags (#2012) * Update docs/reference/config.md * Update internal/codegen/golang/gen.go --------- Co-authored-by: Kyle Gray <[email protected]>
Successfully merging a pull request may close this issue.
What do you want to change?
It could be useful to be able to emit
// go:build some-tag
into the golang generated filesThis way I can, for example, exclude them when running coverage tests 😇
What database engines need to be changed?
No response
What programming language backends need to be changed?
Go
The text was updated successfully, but these errors were encountered: