From 87683e3eb0b6367fd4bae9ee3b101620f49a9ea9 Mon Sep 17 00:00:00 2001 From: lowit Date: Thu, 28 Apr 2022 15:48:18 +0300 Subject: [PATCH] issue-30: Update bell version to v2 --- README.md | 4 ++-- example_test.go | 2 +- go.mod | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4b04b85..c8a07c6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/example_test.go b/example_test.go index 5ce4bc6..1e8041c 100644 --- a/example_test.go +++ b/example_test.go @@ -2,7 +2,7 @@ package bell_test import ( "fmt" - "github.com/nuttech/bell" + "github.com/nuttech/bell/v2" "sort" ) diff --git a/go.mod b/go.mod index c566d29..441ba50 100644 --- a/go.mod +++ b/go.mod @@ -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