num

package
v0.0.0-...-fbaabe3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Number

type Number struct {
	// contains filtered or unexported fields
}

func Make

func Make() *Number

func Of

func Of(value interface{}) *Number

func (Number) Complex

func (n Number) Complex() complex128

func (Number) Complex128

func (n Number) Complex128() complex128

func (Number) Complex64

func (n Number) Complex64() complex64

func (Number) Float

func (n Number) Float() float64

func (Number) Float32

func (n Number) Float32() float32

func (Number) Float64

func (n Number) Float64() float64

func (Number) Int

func (n Number) Int() int

func (Number) Int16

func (n Number) Int16() int16

func (Number) Int32

func (n Number) Int32() int32

func (Number) Int64

func (n Number) Int64() int64

func (Number) Int8

func (n Number) Int8() int8

func (Number) IsComplex

func (n Number) IsComplex() bool

func (Number) IsFloat

func (n Number) IsFloat() bool

func (Number) IsInt

func (n Number) IsInt() bool

func (Number) IsNil

func (n Number) IsNil() bool

func (Number) IsSet

func (n Number) IsSet() bool

func (*Number) MarshalJSON

func (n *Number) MarshalJSON() ([]byte, error)

func (*Number) Scan

func (n *Number) Scan(src interface{}) error

func (*Number) Set

func (n *Number) Set(value interface{}) (old interface{})

func (Number) ToFixed

func (n Number) ToFixed(places int) string

func (Number) Uint

func (n Number) Uint() uint

func (Number) Uint16

func (n Number) Uint16() uint16

func (Number) Uint32

func (n Number) Uint32() uint32

func (Number) Uint64

func (n Number) Uint64() uint64

func (Number) Uint8

func (n Number) Uint8() uint8

func (Number) Uintptr

func (n Number) Uintptr() uintptr

func (*Number) UnmarshalJSON

func (n *Number) UnmarshalJSON(data []byte) error

func (*Number) Value

func (n *Number) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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