From 612b799ff231b7796194060498437d4db090da3d Mon Sep 17 00:00:00 2001 From: rafaeleyng Date: Tue, 8 Sep 2020 16:48:27 -0300 Subject: [PATCH] bump 2.0.0 --- README.md | 8 ++++---- bench_test.go | 2 +- buffer_test.go | 2 +- go.mod | 2 +- options_test.go | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2152114..28e108e 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ package main import ( "time" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) func main() { @@ -44,7 +44,7 @@ func main() { } }), ) - // ensure the buffer + // ensure the buffer defer buff.Close() buff.Push("item 1") @@ -68,7 +68,7 @@ package main import ( "time" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) func main() { @@ -106,7 +106,7 @@ package main import ( "time" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) func main() { diff --git a/bench_test.go b/bench_test.go index 3633c29..9c07000 100644 --- a/bench_test.go +++ b/bench_test.go @@ -3,7 +3,7 @@ package buffer_test import ( "testing" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) func BenchmarkBuffer(b *testing.B) { diff --git a/buffer_test.go b/buffer_test.go index 1fe72e6..869bbbc 100644 --- a/buffer_test.go +++ b/buffer_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) var _ = Describe("Buffer", func() { diff --git a/go.mod b/go.mod index 4fc29dd..8dd618c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/globocom/go-buffer +module github.com/globocom/go-buffer/v2 go 1.13 diff --git a/options_test.go b/options_test.go index 35564c4..bff0846 100644 --- a/options_test.go +++ b/options_test.go @@ -6,7 +6,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/globocom/go-buffer" + "github.com/globocom/go-buffer/v2" ) var _ = Describe("Options", func() {