goutil

package
v0.0.0-...-3f9dac1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 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