Skip to content

Commit

Permalink
issue-30: Update bell version to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
lowitea committed Apr 28, 2022
1 parent 6cec116 commit 87683e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ with [modules](https://github.com/golang/go/wiki/Modules) support and set Go wor
1. Use the below Go command to install Bell:

```shell
go get -u github.com/nuttech/bell
go get -u github.com/nuttech/bell/v2
```

2. Import package in your code:

```go
import "github.com/nuttech/bell"
import "github.com/nuttech/bell/v2"
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package bell_test

import (
"fmt"
"github.com/nuttech/bell"
"github.com/nuttech/bell/v2"
"sort"
)

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/nuttech/bell
module github.com/nuttech/bell/v2

go 1.16
go 1.17

require github.com/stretchr/testify v1.7.0

0 comments on commit 87683e3

Please sign in to comment.