core

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPrimitive

func IsPrimitive[T any]() bool

Types

type Bool

type Bool bool

type Byte

type Byte byte

type ByteSeq added in v0.4.0

type ByteSeq interface{ ~[]byte | ~string }

type Chan

type Chan[T any] chan T

type Char

type Char rune

type Complex

type Complex interface{ ~complex64 | ~complex128 }

type Complex32

type Complex32 complex64

func (Complex32) Imag

func (self Complex32) Imag() Float32

func (Complex32) Real

func (self Complex32) Real() Float32

type Complex64

type Complex64 complex128

func (Complex64) Imag

func (self Complex64) Imag() Float64

func (Complex64) Real

func (self Complex64) Real() Float64

type Float

type Float interface{ ~float32 | ~float64 }

type Float32

type Float32 float32

type Float64

type Float64 float64

type Int

type Int int

type Int16

type Int16 int16

type Int32

type Int32 int32

type Int64

type Int64 int64

type Int8

type Int8 int8

type Integer

type Integer interface{ Signed | Unsigned }

type Map

type Map[K comparable, V any] map[K]V

type Number deprecated

type Number = Numeric

Deprecated: use Numeric instead

type Numeric added in v0.4.0

type Numeric interface{ Integer | Float | Complex }

type Ordered added in v0.1.1

type Ordered interface{ Integer | Float | ~string }

type Primitive

type Primitive interface{ Numeric | ~string | ~bool }

type Signed

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

type Slice

type Slice[T any] []T

type String

type String string

type Uint

type Uint uint

type Uint16

type Uint16 uint16

type Uint32

type Uint32 uint32

type Uint64

type Uint64 uint64

type Uint8

type Uint8 uint8

type Unit

type Unit struct{}

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