Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keys ¶
func Keys[K constraints.Ordered, V any](source map[K]V) []K
func Values ¶
func Values[K constraints.Ordered, V any](source map[K]V) []V
Types ¶
type KeyValuePair ¶ added in v0.1.6
type KeyValuePair[K constraints.Ordered, V any] struct { Key K Value V }
func Entries ¶ added in v0.1.4
func Entries[K constraints.Ordered, V any](source map[K]V) []KeyValuePair[K, V]
type KeyValueStore ¶
type KeyValueStore map[string]struct{}
func CreateConstMap ¶
func CreateConstMap(first string, rest ...string) KeyValueStore
func (KeyValueStore) IsExist ¶
func (base KeyValueStore) IsExist(key string) bool
Click to show internal directories.
Click to hide internal directories.