Documentation ¶
Index ¶
- type Number
- func (n Number) Complex() complex128
- func (n Number) Complex128() complex128
- func (n Number) Complex64() complex64
- func (n Number) Float() float64
- func (n Number) Float32() float32
- func (n Number) Float64() float64
- func (n Number) Int() int
- func (n Number) Int16() int16
- func (n Number) Int32() int32
- func (n Number) Int64() int64
- func (n Number) Int8() int8
- func (n Number) IsComplex() bool
- func (n Number) IsFloat() bool
- func (n Number) IsInt() bool
- func (n Number) IsNil() bool
- func (n Number) IsSet() bool
- func (n *Number) MarshalJSON() ([]byte, error)
- func (n *Number) Scan(src interface{}) error
- func (n *Number) Set(value interface{}) (old interface{})
- func (n Number) ToFixed(places int) string
- func (n Number) Uint() uint
- func (n Number) Uint16() uint16
- func (n Number) Uint32() uint32
- func (n Number) Uint64() uint64
- func (n Number) Uint8() uint8
- func (n Number) Uintptr() uintptr
- func (n *Number) UnmarshalJSON(data []byte) error
- func (n *Number) Value() (driver.Value, error)
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 (Number) Complex ¶
func (n Number) Complex() complex128
func (Number) Complex128 ¶
func (n Number) Complex128() complex128
func (*Number) MarshalJSON ¶
func (*Number) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.