utils

package
v0.0.0-...-8023e94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForAllMethodsInOrder

func ForAllMethodsInOrder(
	allMethods map[measurer.MethodID]*measurer.Method,
	fn func(m *measurer.Method))

ForAllMethodsInOrder iterates over allMethods in the order of MethodID.

func ForAllVariantsInOrder

func ForAllVariantsInOrder(
	variants map[string]measurer.LocalWithBlock,
	fn func(member string, localWithBlock measurer.LocalWithBlock))

ForAllVariantsInOrder iterates over variants in member order. If present, the unknown variant is always last.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL