package
Version:
v0.0.0-...-503c688
Opens a new window with list of versions in this module.
Published: Nov 8, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Pick[E any](t *T, values []E) E
Pick returns a value from the values list
func PickEnum[E any](t *T, item E, other ...E) E
PickEnum returns a value from the value enums
RunTest runs the test function `f` multiple times util all the values in `Pick` are tested.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.