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

Use Go generics #36

Open
imiric opened this issue Apr 11, 2023 · 0 comments
Open

Use Go generics #36

imiric opened this issue Apr 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@imiric
Copy link
Contributor

imiric commented Apr 11, 2023

#35 bumps the Go version we use in CI to 1.20, so we can migrate the codebase to use some Go generics features.

The obvious change would be to drop interface{} in favor of any, but it's also worth looking into whether the pointer logic in SQL.Query() could be simplified with some generic type.

@imiric imiric added the enhancement New feature or request label Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant