Documentation
¶
Index ¶
- func FindKeyByValue[K, V comparable](m map[K]V, v V) (k K, ok bool)
- func Foreach[K comparable, V any](m map[K]V, f func(k K, v V))
- func KeyExists[K comparable, V any](m map[K]V, k K) bool
- func Keys[K comparable, V any](m map[K]V) []K
- func Parse(input any) map[string]any
- func ParseByTag(input any, tagName string) map[string]any
- func ToStruct(input any, output any) error
- func ToStructByTag(input any, output any, tagName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindKeyByValue ¶
func FindKeyByValue[K, V comparable](m map[K]V, v V) (k K, ok bool)
func Foreach ¶
func Foreach[K comparable, V any](m map[K]V, f func(k K, v V))
func KeyExists ¶
func KeyExists[K comparable, V any](m map[K]V, k K) bool
func Keys ¶ added in v1.2.8
func Keys[K comparable, V any](m map[K]V) []K
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.