Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
NewBool
e.g. 不传参的话,初始值为false
flag := atomicKit.NewBool() fmt.Println(flag.Val()) // false
NewBytes
PS: 对 atomic.Value 进行了封装.
View Source
var NewFloat32 func(value ...float32) *gtype.Float32 = gtype.NewFloat32
View Source
var NewFloat64 func(value ...float64) *gtype.Float64 = gtype.NewFloat64
View Source
var NewInterface func(value ...interface{}) *gtype.Interface = gtype.NewInterface
NewInterface
PS: 对 atomic.Value 进行了封装.
NewString
PS: 对 atomic.Value 进行了封装.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.