abool

package
v0.0.0-...-e58e4a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL