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

Proposal: Add sync.Map.Len() method #22247

andeya opened this issue Oct 13, 2017 · 4 comments

Proposal: Add sync.Map.Len() method #22247

andeya opened this issue Oct 13, 2017 · 4 comments


Copy link

andeya commented Oct 13, 2017

I suggest adding the Len method to the version of sync.Map in the Go1.9 version.

func (m *Map) Len() int

The following is a reference:

@gopherbot gopherbot added this to the Proposal milestone Oct 13, 2017
Copy link

linlinjie commented Oct 13, 2017

Very practical,I ding you!

Copy link

egonelbre commented Oct 13, 2017

Duplicate of #20680. Other method suggestions in 1. #21199.

Copy link

xianlezheng commented Oct 13, 2017

or Size()

Copy link

ianlancetaylor commented Oct 13, 2017

Closing as duplicate.

@golang golang locked and limited conversation to collaborators Jul 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

6 participants