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:
parent
6cec116b10
commit
87683e3eb0
@ -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
|
||||
|
@ -2,7 +2,7 @@ package bell_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/nuttech/bell"
|
||||
"github.com/nuttech/bell/v2"
|
||||
"sort"
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user