Back to

Package mapsort

Latest Go to latest
Published: Jun 22, 2020 | License: BSD-3-Clause | Module:


Package mapsort provides sorted access to maps.


Package Files

func Range

func Range(mapv protoreflect.Map, keyKind protoreflect.Kind, f func(protoreflect.MapKey, protoreflect.Value) bool)

Range iterates over every map entry in sorted key order, calling f for each key and value encountered.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier