Skip to content

The Map[K, V].find() API design discussion #12

@sarrow104

Description

@sarrow104

can you export

func (tr *Map[K, V]) find(n *mapNode[K, V], key K) (index int, found bool)

to public domain, like:

func (tr *Map[K, V]) Find(n *mapNode[K, V], key K) (index int, found bool)

for method to use:

func (tr *Map[K, V]) GetAt(index int) (K, V, bool)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions