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

Support for uuid types via Scanner/Stringer #720

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Conversation

gingerwizard
Copy link
Collaborator

This adds support for uuids other than github.com/google/uuid e.g. github.com/satori/go.uuid. Rather than add the library like #714 we require a uuid package to simply support sql.Scanner and fmt.Stringer. This is supported by github.com/satori/go.uuid by design. Avoids package bloat and means users can define their own uuid type if they want.

cc @Laotree

Closes #713

@gingerwizard gingerwizard merged commit b445316 into main Aug 12, 2022
@gingerwizard gingerwizard deleted the stringify_uuid branch August 12, 2022 15:02
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.

another UUID support
2 participants