sqlc icon indicating copy to clipboard operation
sqlc copied to clipboard

fix(golang): escape q field name

Open vitords opened this issue 1 year ago • 0 comments

Adds q to the reserve keywords.

Although not a golang keyword per se, it works as one since q is reserved as a shorthand for Queries in the generated code so there's no need to rename the reserved keywords list.

Fixes #3627.

vitords avatar Oct 09 '24 21:10 vitords