Documentation ¶ Index ¶ type Value func New(b bool) Value Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Value ¶ type Value interface { // Set sets the boolean value to true. Set() // Test returns the boolean value. Test() bool // Unset sets the boolean value to false. Unset() } Value provides an atomic boolean value. func New ¶ func New(b bool) Value New returns a new Value initialized to b. Source Files ¶ View all Source files abool.go Click to show internal directories. Click to hide internal directories.