numerics

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Join

func Join(ints interface{}, sep string) (strJoin string)

ints -> int8/int16/int32/int/int64/uint8/uint16/uint32/uint/uint64/float32/float64 slice

Types

type IntType

type IntType int64

func (*IntType) FromInt

func (t *IntType) FromInt(v int)

func (*IntType) FromInt16

func (t *IntType) FromInt16(v int16)

func (*IntType) FromInt32

func (t *IntType) FromInt32(v int32)

func (*IntType) FromInt64

func (t *IntType) FromInt64(v int64)

func (*IntType) FromInt8

func (t *IntType) FromInt8(v int8)

func (*IntType) FromString

func (t *IntType) FromString(v string)

func (*IntType) FromUint

func (t *IntType) FromUint(v uint)

func (*IntType) FromUint16

func (t *IntType) FromUint16(v uint16)

func (*IntType) FromUint32

func (t *IntType) FromUint32(v uint32)

func (*IntType) FromUint64

func (t *IntType) FromUint64(v uint64)

func (*IntType) FromUint8

func (t *IntType) FromUint8(v uint8)

func (IntType) GoString

func (t IntType) GoString() (name string)

for printf %#v

func (*IntType) Scan

func (t *IntType) Scan(value interface{}) error

Scan implements the sql.Scanner interface for database deserialization.

func (IntType) String

func (t IntType) String() (name string)

for printf %s %v %+v

func (IntType) ToInt

func (t IntType) ToInt() int

func (IntType) ToInt16

func (t IntType) ToInt16() int16

func (IntType) ToInt32

func (t IntType) ToInt32() int32

func (IntType) ToInt64

func (t IntType) ToInt64() int64

func (IntType) ToInt8

func (t IntType) ToInt8() int8

func (IntType) ToString

func (t IntType) ToString() string

func (IntType) ToUint

func (t IntType) ToUint() uint

func (IntType) ToUint16

func (t IntType) ToUint16() uint16

func (IntType) ToUint32

func (t IntType) ToUint32() uint32

func (IntType) ToUint64

func (t IntType) ToUint64() uint64

func (IntType) ToUnt8

func (t IntType) ToUnt8() uint8

func (IntType) Value

func (t IntType) Value() (driver.Value, error)

Value implements the driver.Valuer interface for database serialization.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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