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

added NewGeneric creation function and related test units #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BruceDu521
Copy link

I noticed issue #135 , so I added a function NewGeneric[K comparable, V any]() to create a generic type Key map. I also wrote 2 tests and 2 benchmark test for it.

There are some blank lines and spaces in the code, caused by the automatic formatting when vscode saves .go file.

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.

1 participant