1
0
mirror of https://github.com/NUTtech/bell.git synced 2024-11-24 08:12:15 +02:00

issue-30: Update bell version to v2

This commit is contained in:
lowit 2022-04-28 15:48:18 +03:00 committed by lowitea
parent 6cec116b10
commit 87683e3eb0
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@ package bell_test
import (
"fmt"
"github.com/nuttech/bell"
"github.com/nuttech/bell/v2"
"sort"
)

4
go.mod
View File

@ -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