util

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compatible

func Compatible(val, test *R.Value) bool

func GetRootValue

func GetRootValue(v R.Value) R.Value

func IsBasicKind

func IsBasicKind(k R.Kind) bool

func IsBool

func IsBool(s string) bool

func IsByteSlice

func IsByteSlice(t R.Type) bool

func IsDecimal

func IsDecimal(b byte) bool

func IsInterface added in v0.0.13

func IsInterface(t R.Type) bool

func IsLowerLetter

func IsLowerLetter(b byte) bool

func IsNil added in v0.0.12

func IsNil(v *R.Value) bool

func IsNumericKind

func IsNumericKind(k R.Kind) bool

func IsUnmarshaler added in v0.0.13

func IsUnmarshaler(t R.Type) bool

func IsUpperLetter

func IsUpperLetter(b byte) bool

func IsValidLongFlag

func IsValidLongFlag(s string) bool

func IsValidShortFlag

func IsValidShortFlag(b byte) bool

func Must

func Must(err error)

func ParseBool

func ParseBool(s string) (bool, error)

func ParseInt

func ParseInt(v string, bits int, opt *argo.UnmarshalIntegerProps) (int64, error)

func ParseMapEntry

func ParseMapEntry(s string, props *argo.UnmarshalMapProps) (k string, v string, err error)

func ParseUInt

func ParseUInt(v string, bits int, opt *argo.UnmarshalIntegerProps) (uint64, error)

func ToUnmarshalable

func ToUnmarshalable(arg string, ov R.Value, skipPtr bool) (R.Value, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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