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

Upgrade to Go v1.18 and add support for generics #84

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

pavelnikolov
Copy link
Member

@pavelnikolov pavelnikolov commented Apr 8, 2022

This PR:

  1. upgrades the library to Go v1.18
  2. adds support for Generics
  3. adds an OTEL tracer
  4. upgrades the library to v7

@agnivade
Copy link

Sorry I didn't get time to look at this. I'll give it a ride soon.

Copy link

@agnivade agnivade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @pavelnikolov !

I gave it a try here: mattermost/mattermost#19965 and everything looks to be working as expected :) The API looks much cleaner now.

@pavelnikolov pavelnikolov merged commit a7ede83 into master Apr 11, 2022
@pavelnikolov pavelnikolov deleted the add-generics-support branch April 11, 2022 20:35
@pavelnikolov
Copy link
Member Author

Thank you for testing.

@csilvers
Copy link

I know this was landed a long time ago, but is there any chance you can update the README to illustrate how to use this library now that the API has changed so dramatically (for the better)? The example it has still uses dataloader.Keys, for instance, which I think doesn't exist anymore.

@pavelnikolov
Copy link
Member Author

@csilvers PRs would be accepted/appreciated.

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

3 participants