Option to add custom build tags during generation #1415
kelzenberg
started this conversation in
Ideas
Replies: 1 comment
-
You can already do this using the This should be an array: tag = ["!codeanalysis"] Try it out and let me know if it works. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to see an option that let's me add custom build tags to the generated output.
Example Use Case
Prevent code analysis on generated files via a build tag named
codeanalysis
(inspired by golangci-lint issue on SO) . Thesqlboiler.toml
config for this could look like this:And the generated file could look like this:
Beta Was this translation helpful? Give feedback.
All reactions