Skip to content

Commit

Permalink
Go module support
Browse files Browse the repository at this point in the history
  • Loading branch information
barryz committed Sep 19, 2018
1 parent 9b9efcf commit b1f26cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ Atomic Boolean library for Go, optimized for performance yet simple to use.

Use this for cleaner code.

Froked from [github.com/tevino/abool](github.com/tevino/abool).

## Usage

```go
import "github.com/tevino/abool"
import "github.com/barryz/abool"

cond := abool.New() // default to false

Expand All @@ -28,8 +30,8 @@ type Foo struct {

## Benchmark:

- Go 1.6.2
- OS X 10.11.4
- Go 1.11.0
- OS X 10.12.2

```shell
# Read
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module github.com/barryz/abool

0 comments on commit b1f26cf

Please sign in to comment.