Documentation ¶
Overview ¶
Package gtype provides kinds of high performance and concurrent-safe basic variable types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
func NewBool ¶
NewBool returns a concurrent-safe object for bool type, with given initial value <value>.
type Byte ¶
type Byte struct {
// contains filtered or unexported fields
}
func NewByte ¶
NewByte returns a concurrent-safe object for byte type, with given initial value <value>.
type Bytes ¶
type Bytes struct {
// contains filtered or unexported fields
}
func NewBytes ¶
NewBytes returns a concurrent-safe object for []byte type, with given initial value <value>.
type Float32 ¶
type Float32 struct {
// contains filtered or unexported fields
}
func NewFloat32 ¶
NewFloat32 returns a concurrent-safe object for float32 type, with given initial value <value>.
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
func NewFloat64 ¶
NewFloat64 returns a concurrent-safe object for float64 type, with given initial value <value>.
type Int ¶
type Int struct {
// contains filtered or unexported fields
}
func NewInt ¶
NewInt returns a concurrent-safe object for int type, with given initial value <value>.
type Int32 ¶
type Int32 struct {
// contains filtered or unexported fields
}
func NewInt32 ¶
NewInt32 returns a concurrent-safe object for int32 type, with given initial value <value>.
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
func NewInt64 ¶
NewInt64 returns a concurrent-safe object for int64 type, with given initial value <value>.
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func NewInterface ¶
func NewInterface(value ...interface{}) *Interface
NewInterface returns a concurrent-safe object for interface{} type, with given initial value <value>.
func (*Interface) Clone ¶
Clone clones and returns a new concurrent-safe object for interface{} type.
type String ¶
type String struct {
// contains filtered or unexported fields
}
func NewString ¶
NewString returns a concurrent-safe object for string type, with given initial value <value>.
type Uint ¶
type Uint struct {
// contains filtered or unexported fields
}
func NewUint ¶
NewUint returns a concurrent-safe object for uint type, with given initial value <value>.
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
func NewUint32 ¶
NewUint32 returns a concurrent-safe object for uint32 type, with given initial value <value>.
type Uint64 ¶
type Uint64 struct {
// contains filtered or unexported fields
}
func NewUint64 ¶
NewUint64 returns a concurrent-safe object for uint64 type, with given initial value <value>.