package
0.1.0
Repository: https://github.com/donetkit/gtool.git
Documentation: pkg.go.dev

# Functions

New is alias of NewInterface.
NewBool creates and returns a concurrent-safe object for bool type, with given initial value `value`.
NewByte creates and returns a concurrent-safe object for byte type, with given initial value `value`.
NewBytes creates and returns a concurrent-safe object for []byte type, with given initial value `value`.
NewFloat32 creates and returns a concurrent-safe object for float32 type, with given initial value `value`.
NewFloat64 creates and returns a concurrent-safe object for float64 type, with given initial value `value`.
NewInt creates and returns a concurrent-safe object for int type, with given initial value `value`.
NewInt32 creates and returns a concurrent-safe object for int32 type, with given initial value `value`.
NewInt64 creates and returns a concurrent-safe object for int64 type, with given initial value `value`.
NewInterface creates and returns a concurrent-safe object for interface{} type, with given initial value `value`.
NewString creates and returns a concurrent-safe object for string type, with given initial value `value`.
NewUint creates and returns a concurrent-safe object for uint type, with given initial value `value`.
NewUint32 creates and returns a concurrent-safe object for uint32 type, with given initial value `value`.
NewUint64 creates and returns a concurrent-safe object for uint64 type, with given initial value `value`.

# Structs

Bool is a struct for concurrent-safe operation for type bool.
Byte is a struct for concurrent-safe operation for type byte.
Bytes is a struct for concurrent-safe operation for type []byte.
Float32 is a struct for concurrent-safe operation for type float32.
Float64 is a struct for concurrent-safe operation for type float64.
Int is a struct for concurrent-safe operation for type int.
Int32 is a struct for concurrent-safe operation for type int32.
Int64 is a struct for concurrent-safe operation for type int64.
Interface is a struct for concurrent-safe operation for type interface{}.
String is a struct for concurrent-safe operation for type string.
Uint is a struct for concurrent-safe operation for type uint.
Uint32 is a struct for concurrent-safe operation for type uint32.
Uint64 is a struct for concurrent-safe operation for type uint64.