types

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool2Integer

func Bool2Integer[T Integer](b bool) T

func DumpHex

func DumpHex[T []byte | *bytes.Buffer](buf T) (dump string)

func FormatInteger

func FormatInteger[T Integer](data T) string

func FormatIntegerHex

func FormatIntegerHex[T Integer](data T) string

func FormatIntegerHex0x

func FormatIntegerHex0x[T Integer](data T) string

func Integer2Bool

func Integer2Bool[T Integer](value T) bool

func IsASCIIDigit

func IsASCIIDigit(s string) bool

func IsIncludeLine

func IsIncludeLine(s string) bool

func ParseBool

func ParseBool[T Integer | ~string]()

func ParseNumber

func ParseNumber[T Number | ~string]()

todo D:\workspace\workspace\ux\demo\airtable\sdk\cell.value.detect.go

func ValueIsBytesType

func ValueIsBytesType(v reflect.Value) bool

Types

type Complex

type Complex interface {
	~complex64 | ~complex128
}

type Float

type Float interface {
	~float32 | ~float64
}

type Integer

type Integer interface {
	Signed | Unsigned
}

type Number

type Number interface {
	Integer | Float | Complex
}

type Ordered

type Ordered = cmp.Ordered

type Signed

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

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