René's URL Explorer Experiment


Title: add support for custom Go struct tags by josharian · Pull Request #1569 · sqlc-dev/sqlc · GitHub

Open Graph Title: add support for custom Go struct tags by josharian · Pull Request #1569 · sqlc-dev/sqlc

X Title: add support for custom Go struct tags by josharian · Pull Request #1569 · sqlc-dev/sqlc

Description: This PR adds a new type of override: go_struct_tag. When provided for a field, it adds that struct tag to the generated code. The provided struct tag is parsed according to the standard package reflect rules, and its components are updated independently. This allows struct tag overrides to be compatible with (and optionally override) autogenerated json and db struct tags. This PR also includes some minor preparatory cleanup and fixes. I recommend reviewing it one commit at a time. The early commits are small and easy; the last commit contains the new feature. Fixes #534

Open Graph Description: This PR adds a new type of override: go_struct_tag. When provided for a field, it adds that struct tag to the generated code. The provided struct tag is parsed according to the standard package ref...

X Description: This PR adds a new type of override: go_struct_tag. When provided for a field, it adds that struct tag to the generated code. The provided struct tag is parsed according to the standard package ref...

Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/1569

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bda2915c-6620-f957-8a2c-e009925c9a7f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8FA:3E4205:1FBCF1C:2A65F32:6B01810A
html-safe-nonced70bdcdfd511a621ade495f0d04f387b2c5e8912650ebb9033cd90858dc37024
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEZBOjNFNDIwNToxRkJDRjFDOjJBNjVGMzI6NkIwMTgxMEEiLCJ2aXNpdG9yX2lkIjoiMjM4NTQ4MjY5MTIwMzEzNzgwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2f009214c0ad19504e062c946aa539c1d6f24913525c129de20ffe798f446a65
hovercard-subject-tagpull_request:918688128
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/1569/files
twitter:imagehttps://avatars.githubusercontent.com/u/67496?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/67496?s=400&v=4
og:image:altThis PR adds a new type of override: go_struct_tag. When provided for a field, it adds that struct tag to the generated code. The provided struct tag is parsed according to the standard package ref...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/1569/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F1569%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F1569%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1569/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1569/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/1569/files
sqlc-devhttps://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Codehttps://github.com/sqlc-dev/sqlc
Issues600 (600)https://github.com/sqlc-dev/sqlc/issues
Pull requests132 (132)https://github.com/sqlc-dev/sqlc/pulls
Discussionshttps://github.com/sqlc-dev/sqlc/discussions
Actionshttps://github.com/sqlc-dev/sqlc/actions
Projectshttps://github.com/sqlc-dev/sqlc/projects
Security and qualityhttps://github.com/sqlc-dev/sqlc/security
Insightshttps://github.com/sqlc-dev/sqlc/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
kyleconroyhttps://github.com/kyleconroy
sqlc-dev:mainhttps://github.com/sqlc-dev/sqlc/tree/main
josharian:custom-go-struct-taghttps://github.com/josharian/sqlc/tree/custom-go-struct-tag
Conversation 6 https://github.com/sqlc-dev/sqlc/pull/1569
Commits 6 https://github.com/sqlc-dev/sqlc/pull/1569/commits
Checks 0 https://github.com/sqlc-dev/sqlc/pull/1569/checks
Files changed https://github.com/sqlc-dev/sqlc/pull/1569/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
add support for custom Go struct tags https://github.com/sqlc-dev/sqlc/pull/1569/files#top
Show all changes 6 commits https://github.com/sqlc-dev/sqlc/pull/1569/files
903b060 internal/config: use strings.Trim{Prefix,Suffix} josharian Apr 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/903b0600fecdf57e6d48f69cb9c6cb135226b607
1c51c62 Makefile: fix vtproto 'go install' command josharian Apr 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/1c51c62675d7ed8892112d577f588a7019d3f84f
0f20c17 internal/codegen/golang: simplify template tag condition josharian Apr 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/0f20c17c51736732885178c0f41ab49149a247bd
178c36e internal/codegen/golang: tweak tag formatting josharian Apr 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/178c36e6d2fd2ee0f3ccb542ee5cc2a45fd4a02e
0cf8ef2 all: add support for custom Go struct tags josharian Apr 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/0cf8ef28571c6ad2936e57a0f5a35a192daf9611
9e00b39 go.mod: bump to Go 1.18 josharian May 25, 2022 https://github.com/sqlc-dev/sqlc/pull/1569/commits/9e00b390d02d7428671d29000ae4994aaf24e664
Clear filters https://github.com/sqlc-dev/sqlc/pull/1569/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
Makefile https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
structs.md https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-302315bbece9ae7edf8b59c36c0093817bbd7d266e9146286c235d45dec42d7c
config.md https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9ae244d0598c1cc7efc9875baf25a5f8b4bc13aabad4fbe17dd4bc5cfe856909
go.mod https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
shim.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e
field.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54f4a6c7f5b7bb232f06a9dac29cfbf22cbfe60c5b300fee166771cbf1773fbb
go_type.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9febf00618188ee666b7f8cc8382cd90e83a745379afbf307f106cdc6da10d9e
result.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
batchCode.tmpl https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-a4ad4dc561eb3577928b7a36377e73abe88067e269c443bda23d359f5b12a1cc
queryCode.tmpl https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-8d8d3536b89444d1613ebd743835aad2c5fd74b3c090be509c238620b2e5550a
queryCode.tmpl https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-53a416a7015d051f42eef94c2cee6b9e371adfb58be8dfa889f596447fc7f8bb
template.tmpl https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-e566da12b32f324281c5598a05b13851c551f3d7ec29fd20b0f72c67a77666e3
config.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
go_type.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
query.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-d3c890cb2e2214a7921dbeaf9cdde24a1dfa80bd4285aeac534806cb5f2a508f
schema.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9126eec6751f423f4a0bcd15fd80057317166ffd0d303fec6981045d7ca68ac7
sqlc.json https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-002169f433c12ee1d161da2a0aaf96ee0ee962972c852f75f7fd44eb7bacdb52
stderr.txt https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-497b4380242b7ad8d87981a2e707c81ede816fc53c860fc8d06c41a5c9519ef9
db.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-bc29c1d2e4e7dc3d28e78e4f89daa1fe11493d717266fc6d2de7daedc2de1604
models.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-69ff3f0ed68aa335f992e2dcf7cf673d409f0afdafa5bfca792ed0887a206acd
query.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-6400ee77aecee391d8ecb6a6d1bdd9d1b71e311f20de02436be580a59403d7b9
schema.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-99f1c1115d0b5e5219ceccfbeb1e5ca425cf35e5c70119159b138ce33c97cfac
sqlc.json https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-fc784ab6cb25850fa027f16a6857e8bac1700a37f5a5149fcc2b4ebc61e4c734
db.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-6a64b7a166d98af81add4f89550db064dc27cfd84dabdb8448ee3062243fe5f5
models.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-4d31e07844e253401a83d0e34fcef3002e267a5f01e0dc424c24bda4b21a7992
query.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-90e58df972631040be6847fdd26e999c25aa068c54c9e7e3bac77941ba4d1923
schema.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-dad28714d75cb7ac2b580a65458423509ab2a329a0e8828a6b886870e13135a7
sqlc.json https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-6cf35b5405cbc209d28bab4c06d57acb98b631fe0caec8ce019c0faa6a63633e
db.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-cfd1504ac4090dfc564a6afbe9ca6c9c19d8f7fb3ea9e8f3df4074ff4f766c48
models.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-6e848408b1808b23a241b5c4c71f52c54d67c03277149302d3748a1c26cf051b
query.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-a07b717a39a61fe477cee1170e3f44a9328089df1f9a4c54ae0b634d28751ae7
schema.sql https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-e5ac52ca8ed47697e5c454379e0e2fafba717bf63227394b3a9061c0e9914363
sqlc.json https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-45732fe6ff9450b044c1ea3756bb62018e39f2f844c6476097b398bbe868957b
codegen.pb.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-989ed321aa608b36a4c349345f3f959eae2b51c37d1f20099f1a0b6222dba995
codegen_vtproto.pb.go https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-36630ad8e458c172d3e42fd39d5bdbc9f7b068ba16f3a9415bd362bdc93d3593
codegen.proto https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-7bd827b9e5f70a79f2e832b726d22c7fd81735b254e86fa0e43147b46ae7b0c3
Makefilehttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
docs/howto/structs.mdhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-302315bbece9ae7edf8b59c36c0093817bbd7d266e9146286c235d45dec42d7c
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/docs/howto/structs.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-302315bbece9ae7edf8b59c36c0093817bbd7d266e9146286c235d45dec42d7c
docs/reference/config.mdhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9ae244d0598c1cc7efc9875baf25a5f8b4bc13aabad4fbe17dd4bc5cfe856909
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/docs/reference/config.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9ae244d0598c1cc7efc9875baf25a5f8b4bc13aabad4fbe17dd4bc5cfe856909
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9ae244d0598c1cc7efc9875baf25a5f8b4bc13aabad4fbe17dd4bc5cfe856909
go.modhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/go.mod
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6
internal/cmd/shim.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/cmd/shim.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e
internal/codegen/golang/field.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54f4a6c7f5b7bb232f06a9dac29cfbf22cbfe60c5b300fee166771cbf1773fbb
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/field.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54f4a6c7f5b7bb232f06a9dac29cfbf22cbfe60c5b300fee166771cbf1773fbb
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54f4a6c7f5b7bb232f06a9dac29cfbf22cbfe60c5b300fee166771cbf1773fbb
internal/codegen/golang/go_type.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9febf00618188ee666b7f8cc8382cd90e83a745379afbf307f106cdc6da10d9e
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/go_type.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9febf00618188ee666b7f8cc8382cd90e83a745379afbf307f106cdc6da10d9e
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9febf00618188ee666b7f8cc8382cd90e83a745379afbf307f106cdc6da10d9e
internal/codegen/golang/result.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/result.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-554ace7a315b3c4704a348e208df36f1f4cffbd0ba9dfd51048f11fbffe8c138
internal/codegen/golang/templates/pgx/batchCode.tmplhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-a4ad4dc561eb3577928b7a36377e73abe88067e269c443bda23d359f5b12a1cc
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/templates/pgx/batchCode.tmpl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-a4ad4dc561eb3577928b7a36377e73abe88067e269c443bda23d359f5b12a1cc
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-a4ad4dc561eb3577928b7a36377e73abe88067e269c443bda23d359f5b12a1cc
internal/codegen/golang/templates/pgx/queryCode.tmplhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-8d8d3536b89444d1613ebd743835aad2c5fd74b3c090be509c238620b2e5550a
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/templates/pgx/queryCode.tmpl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-8d8d3536b89444d1613ebd743835aad2c5fd74b3c090be509c238620b2e5550a
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-8d8d3536b89444d1613ebd743835aad2c5fd74b3c090be509c238620b2e5550a
internal/codegen/golang/templates/stdlib/queryCode.tmplhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-53a416a7015d051f42eef94c2cee6b9e371adfb58be8dfa889f596447fc7f8bb
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/templates/stdlib/queryCode.tmpl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-53a416a7015d051f42eef94c2cee6b9e371adfb58be8dfa889f596447fc7f8bb
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-53a416a7015d051f42eef94c2cee6b9e371adfb58be8dfa889f596447fc7f8bb
internal/codegen/golang/templates/template.tmplhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-e566da12b32f324281c5598a05b13851c551f3d7ec29fd20b0f72c67a77666e3
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/codegen/golang/templates/template.tmpl
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-e566da12b32f324281c5598a05b13851c551f3d7ec29fd20b0f72c67a77666e3
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-e566da12b32f324281c5598a05b13851c551f3d7ec29fd20b0f72c67a77666e3
internal/config/config.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/config/config.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd
internal/config/go_type.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/config/go_type.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
https://github.com/sqlc-dev/sqlc/pull/1569/files#diff-0318aa67c8eaa515e10995ba15934b219c8dd2c4d6cc54a60b0c3e3cc285f63e
internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/query.sqlhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-d3c890cb2e2214a7921dbeaf9cdde24a1dfa80bd4285aeac534806cb5f2a508f
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/query.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/schema.sqlhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-9126eec6751f423f4a0bcd15fd80057317166ffd0d303fec6981045d7ca68ac7
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/schema.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/sqlc.jsonhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-002169f433c12ee1d161da2a0aaf96ee0ee962972c852f75f7fd44eb7bacdb52
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/sqlc.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/stderr.txthttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-497b4380242b7ad8d87981a2e707c81ede816fc53c860fc8d06c41a5c9519ef9
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/invalid_tags/stderr.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
internal/endtoend/testdata/overrides_go_struct_tags/mysql/go/db.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-bc29c1d2e4e7dc3d28e78e4f89daa1fe11493d717266fc6d2de7daedc2de1604
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/mysql/go/db.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
internal/endtoend/testdata/overrides_go_struct_tags/mysql/go/models.gohttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-69ff3f0ed68aa335f992e2dcf7cf673d409f0afdafa5bfca792ed0887a206acd
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/mysql/go/models.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
internal/endtoend/testdata/overrides_go_struct_tags/mysql/query.sqlhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-6400ee77aecee391d8ecb6a6d1bdd9d1b71e311f20de02436be580a59403d7b9
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/mysql/query.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
internal/endtoend/testdata/overrides_go_struct_tags/mysql/schema.sqlhttps://github.com/sqlc-dev/sqlc/pull/1569/files#diff-99f1c1115d0b5e5219ceccfbeb1e5ca425cf35e5c70119159b138ce33c97cfac
View file https://github.com/josharian/sqlc/blob/9e00b390d02d7428671d29000ae4994aaf24e664/internal/endtoend/testdata/overrides_go_struct_tags/mysql/schema.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/1569/{{ revealButtonHref }}
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/1569/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.