forked from mirror/abool
upd
This commit is contained in:
parent
edeb7035e9
commit
0b682c40ec
|
@ -1,7 +1,7 @@
|
||||||
# ABool :bulb:
|
# ABool :bulb:
|
||||||
|
|
||||||
[![Go Report Card](https://goreportcard.com/badge/github.com/tevino/abool)](https://goreportcard.com/report/github.com/tevino/abool)
|
[![Go Report Card](https://goreportcard.com/badge/git.internal/re)](https://goreportcard.com/report/git.internal/re)
|
||||||
[![GoDoc](https://godoc.org/github.com/tevino/abool?status.svg)](https://godoc.org/github.com/tevino/abool)
|
[![GoDoc](https://godoc.org/git.internal/re?status.svg)](https://godoc.org/git.internal/re)
|
||||||
|
|
||||||
Atomic Boolean package for Go, optimized for performance yet simple to use.
|
Atomic Boolean package for Go, optimized for performance yet simple to use.
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ Designed for cleaner code.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/tevino/abool/v2"
|
import "git.internal/re/v2"
|
||||||
|
|
||||||
cond := abool.New() // default to false
|
cond := abool.New() // default to false
|
||||||
|
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,3 +1,3 @@
|
||||||
module github.com/tevino/abool
|
module git.internal/re/abool
|
||||||
|
|
||||||
go 1.14
|
go 1.14
|
||||||
|
|
Loading…
Reference in New Issue