Skip to content

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

@andeya

Description

@andeya

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:

https://github.com/henrylee2cn/goutil/blob/master/map.go#L604

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions