constraints

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBool

func IsBool(t reflect.Type) bool

func IsFloat

func IsFloat(t reflect.Type) bool

func IsInputType

func IsInputType(t reflect.Type) bool

func IsInteger

func IsInteger(t reflect.Type) bool

func IsSigned

func IsSigned(t reflect.Type) bool

func IsSliceBool

func IsSliceBool(t reflect.Type) bool

func IsSliceFloat

func IsSliceFloat(t reflect.Type) bool

func IsSliceInteger

func IsSliceInteger(t reflect.Type) bool

func IsSliceSigned

func IsSliceSigned(t reflect.Type) bool

func IsSliceString

func IsSliceString(t reflect.Type) bool

func IsSliceUnsigned

func IsSliceUnsigned(t reflect.Type) bool

func IsStrBool

func IsStrBool(typeName string) bool

func IsStrFloat

func IsStrFloat(typeName string) bool

func IsStrInputType

func IsStrInputType(typeName string) bool

func IsStrInteger

func IsStrInteger(typeName string) bool

func IsStrSigned

func IsStrSigned(typeName string) bool

func IsStrSliceBool

func IsStrSliceBool(typeName string) bool

func IsStrSliceFloat

func IsStrSliceFloat(typeName string) bool

func IsStrSliceInteger

func IsStrSliceInteger(typeName string) bool

func IsStrSliceSigned

func IsStrSliceSigned(typeName string) bool

func IsStrSliceString

func IsStrSliceString(typeName string) bool

func IsStrSliceUnsigned

func IsStrSliceUnsigned(typeName string) bool

func IsStrString

func IsStrString(typeName string) bool

func IsStrUnsigned

func IsStrUnsigned(typeName string) bool

func IsString

func IsString(t reflect.Type) bool

func IsUnsigned

func IsUnsigned(t reflect.Type) bool

Types

type Bool

type Bool = bool

type Float

type Float interface {
	~float32 | ~float64
}

type InputType

type InputType interface {
	Float | Integer | ~String | ~Bool |

		SliceFloat | SliceInteger | SliceString | SliceBool
}

type Integer

type Integer interface {
	Signed | Unsigned
}

type Signed

type Signed interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type SliceBool

type SliceBool = []Bool

type SliceFloat

type SliceFloat interface {
	~[]float32 | ~[]float64
}

type SliceInteger

type SliceInteger interface {
	SliceSigned | SliceUnsigned
}

type SliceSigned

type SliceSigned interface {
	~[]int | ~[]int8 | ~[]int16 | ~[]int32 | ~[]int64
}

type SliceString

type SliceString = []String

type SliceUnsigned

type SliceUnsigned interface {
	~[]uint | ~[]uint8 | ~[]uint16 | ~[]uint32 | ~[]uint64 | ~[]uintptr
}

type String

type String = string

type Unsigned

type Unsigned interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
}

Jump to

Keyboard shortcuts

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