util

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildReflectTypeKey

func BuildReflectTypeKey(varType reflect.Type) string

func GetPrintableTypeWithValue

func GetPrintableTypeWithValue(in interface{}) string

func KeyFN

func KeyFN(t interface{}) string

func MatchError

func MatchError(src, tgt error) bool

func TryCoerceToBigFloat

func TryCoerceToBigFloat(in interface{}) (*big.Float, error)

func TryCoerceToBool

func TryCoerceToBool(in interface{}) (bool, error)

func TryCoerceToFloat64

func TryCoerceToFloat64(in interface{}) (float64, error)

func TryCoerceToFloats

func TryCoerceToFloats(in interface{}) ([]float64, error)

func TryCoerceToInt

func TryCoerceToInt(in interface{}) (int, error)

func TryCoerceToInt64

func TryCoerceToInt64(in interface{}) (int64, error)

func TryCoerceToInt64s

func TryCoerceToInt64s(in interface{}) ([]int64, error)

func TryCoerceToInts

func TryCoerceToInts(in interface{}) ([]int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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