Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get[M ~map[K]V, K comparable, V any](m M, key K) V
func GetOr ¶
func GetOr[M ~map[K]V, K comparable, V any](m M, key K, or V) V
func GetOrElse ¶
func GetOrElse[M ~map[K]V, K comparable, V any](m M, key K, fn func() V) V
func Lookup ¶
func Lookup[M ~map[K]V, K comparable, V any](m M, key K) (value V, ok bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.