lib

package
v2.3.38 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInterface added in v2.3.33

func IsInterface(v interface{}) bool

func IsStruct added in v2.3.33

func IsStruct(v interface{}) bool

func Max added in v2.2.109

func Max[T constraints.Ordered](a, b T) T

func Min added in v2.2.96

func Min[T constraints.Ordered](a, b T) T

func NoCancelContext added in v2.3.9

func NoCancelContext(lookupContext context.Context) context.Context

NoCancelContext creates a new context that derives from context.Background, while getting all values from the given lookupContext. So even if the lookupContext has a timeout, the new context will not inherit this timeout.

func PtrOf

func PtrOf[T any](value T) *T

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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