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

初始化是不是没用泛型? #128

Open
samhuangszu opened this issue Feb 7, 2023 · 1 comment
Open

初始化是不是没用泛型? #128

samhuangszu opened this issue Feb 7, 2023 · 1 comment

Comments

@samhuangszu
Copy link

// Creates a new concurrent map.
func NewV any ConcurrentMap[string, V] {
return createstring, V
}

@JHue58
Copy link

JHue58 commented Jul 11, 2024

默认key为string

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

No branches or pull requests

2 participants