The highest tagged major version is
v2.
package
Version:
v1.6.29
Opens a new window with list of versions in this module.
Published: Mar 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
type Bool interface {
Set()
Unset()
IsSet() bool
}
Bool is an atomic Boolean,
Its methods are all atomic, thus safe to be called by
multiple goroutines simultaneously.
NewBool creates an Bool with given default value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.