goutil

package
v0.0.0-...-6680040 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaulted

func GetDefaulted[T any](in []T, index int) T

func OnceValueWithContext

func OnceValueWithContext[T any](fn func(context.Context) T) *onceValue[T]

func OnceValuesWithContext

func OnceValuesWithContext[T any](fn func(context.Context) (T, error)) *onceValues[T]

func PickByKeysSorted

func PickByKeysSorted[K comparable, V any](in map[K]V, keys []K) []V

Types

This section is empty.

Jump to

Keyboard shortcuts

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