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

Vendor in modified built-in scan logic #15

Merged
merged 1 commit into from Aug 8, 2022
Merged

Vendor in modified built-in scan logic #15

merged 1 commit into from Aug 8, 2022

Conversation

SpencerC
Copy link
Collaborator

@SpencerC SpencerC commented Jul 20, 2022

Files:
https://github.com/golang/go/blob/bb1749ba3bfaa6912d79904dad5e29e6ea624d29/src/database/sql/convert.go
https://github.com/golang/go/blob/bb1749ba3bfaa6912d79904dad5e29e6ea624d29/src/database/sql/convert_test.go

Copies only the functions needed to make convertAssign work. Modified to remove database/sql-specific functionality, and add support for UUIDs.

Official guidance from Go team is to copy this functionality as needed: golang/go#35697 (comment)

@SpencerC SpencerC requested a review from a team July 20, 2022 18:39
@SpencerC SpencerC enabled auto-merge (squash) July 20, 2022 18:39
@SpencerC SpencerC merged commit 0bf4288 into main Aug 8, 2022
@SpencerC SpencerC deleted the scan branch August 8, 2022 20:12
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.

None yet

2 participants