Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Complex128 ¶
type Complex128 struct {
// contains filtered or unexported fields
}
func EmptyComplex128 ¶
func EmptyComplex128() Complex128
EmptyComplex128 returns a new Complex128 that does not have a value set.
func NewComplex128 ¶
func NewComplex128(value complex128) Complex128
func (Complex128) Default ¶
func (i Complex128) Default(defaultValue complex128) complex128
func (Complex128) IsSet ¶
func (i Complex128) IsSet() bool
func (Complex128) Value ¶
func (i Complex128) Value() complex128
type Complex64 ¶
type Complex64 struct {
// contains filtered or unexported fields
}
func EmptyComplex64 ¶
func EmptyComplex64() Complex64
EmptyComplex64 returns a new Complex64 that does not have a value set.
func NewComplex64 ¶
type Float32 ¶
type Float32 struct {
// contains filtered or unexported fields
}
func EmptyFloat32 ¶
func EmptyFloat32() Float32
EmptyFloat32 returns a new Float32 that does not have a value set.
func NewFloat32 ¶
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
func EmptyFloat64 ¶
func EmptyFloat64() Float64
EmptyFloat64 returns a new Float64 that does not have a value set.
func NewFloat64 ¶
type Int16 ¶
type Int16 struct {
// contains filtered or unexported fields
}
func EmptyInt16 ¶
func EmptyInt16() Int16
EmptyInt16 returns a new Int16 that does not have a value set.
type Int32 ¶
type Int32 struct {
// contains filtered or unexported fields
}
func EmptyInt32 ¶
func EmptyInt32() Int32
EmptyInt32 returns a new Int32 that does not have a value set.
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
func EmptyInt64 ¶
func EmptyInt64() Int64
EmptyInt64 returns a new Int64 that does not have a value set.
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
Optional represents a generic optional type, stored as an interface{}.
func EmptyInterface ¶
func EmptyInterface() Interface
EmptyInterface returns a new Interface that does not have a value set.
func NewInterface ¶
func NewInterface(value interface{}) Interface
type String ¶
type String struct {
// contains filtered or unexported fields
}
func EmptyString ¶
func EmptyString() String
EmptyString returns a new String that does not have a value set.
type Uint16 ¶
type Uint16 struct {
// contains filtered or unexported fields
}
func EmptyUint16 ¶
func EmptyUint16() Uint16
EmptyUint16 returns a new Uint16 that does not have a value set.
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
func EmptyUint32 ¶
func EmptyUint32() Uint32
EmptyUint32 returns a new Uint32 that does not have a value set.
type Uint64 ¶
type Uint64 struct {
// contains filtered or unexported fields
}
func EmptyUint64 ¶
func EmptyUint64() Uint64
EmptyUint64 returns a new Uint64 that does not have a value set.
type Uint8 ¶
type Uint8 struct {
// contains filtered or unexported fields
}
func EmptyUint8 ¶
func EmptyUint8() Uint8
EmptyUint8 returns a new Uint8 that does not have a value set.
type Uintptr ¶
type Uintptr struct {
// contains filtered or unexported fields
}
func EmptyUintptr ¶
func EmptyUintptr() Uintptr
EmptyUintptr returns a new Uintptr that does not have a value set.