helper

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignValueToReflect added in v0.6.0

func AssignValueToReflect(to, from reflect.Value) error

func IsInRune added in v0.5.0

func IsInRune(a rune, bs []rune) bool

func Min

func Min(a, b int) int

func ToBool added in v0.6.0

func ToBool(v interface{}) (bool, error)

func ToComplex128 added in v0.6.0

func ToComplex128(v interface{}) (complex128, error)

func ToComplex64 added in v0.6.0

func ToComplex64(v interface{}) (complex64, error)

func ToFloat32 added in v0.6.0

func ToFloat32(v interface{}) (float32, error)

func ToFloat64 added in v0.6.0

func ToFloat64(v interface{}) (float64, error)

func ToInt added in v0.6.0

func ToInt(v interface{}) (int, error)

func ToInt16 added in v0.6.0

func ToInt16(v interface{}) (int16, error)

func ToInt32 added in v0.6.0

func ToInt32(v interface{}) (int32, error)

func ToInt64 added in v0.6.0

func ToInt64(v interface{}) (int64, error)

func ToInt8 added in v0.6.0

func ToInt8(v interface{}) (int8, error)

func ToString added in v0.6.0

func ToString(v interface{}) (string, error)

func ToUint added in v0.6.0

func ToUint(v interface{}) (uint, error)

func ToUint16 added in v0.6.0

func ToUint16(v interface{}) (uint16, error)

func ToUint32 added in v0.6.0

func ToUint32(v interface{}) (uint32, error)

func ToUint64 added in v0.6.0

func ToUint64(v interface{}) (uint64, error)

func ToUint8 added in v0.6.0

func ToUint8(v interface{}) (uint8, error)

func ToUintptr added in v0.6.0

func ToUintptr(v interface{}) (uintptr, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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