Skip to content

Commit

Permalink
Update example with gosimple link (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
matrixik authored Jul 8, 2021
1 parent fa11901 commit 48ffb90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import (
"fmt"
"sync"

"github.com/Avalanche-io/counter"
"github.com/gosimple/counter"
)

func main() {

c := counter.New()
var wg sync.WaitGroup
for i := 0; i < 8; i++ {
Expand All @@ -23,5 +22,4 @@ func main() {
wg.Wait()

fmt.Printf("c = %d\n", c.Get())

}

0 comments on commit 48ffb90

Please sign in to comment.