From 314a45acee07dc87d60425ad639cc2e96e3d61b3 Mon Sep 17 00:00:00 2001 From: Adam S Levy Date: Mon, 17 Feb 2020 15:02:57 -0900 Subject: [PATCH] Bump to v14 --- README.md | 2 +- example_test.go | 4 +--- go.mod | 7 ++----- go.sum | 2 -- request_test.go | 3 +-- response_test.go | 3 +-- 6 files changed, 6 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3828d7c..8737af5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# github.com/AdamSLevy/jsonrpc2/v13 +# github.com/AdamSLevy/jsonrpc2/v14 [![GoDoc](https://godoc.org/github.com/AdamSLevy/jsonrpc2?status.svg)](https://godoc.org/github.com/AdamSLevy/jsonrpc2) [![Go Report Card](https://goreportcard.com/badge/github.com/AdamSLevy/jsonrpc2)](https://goreportcard.com/report/github.com/AdamSLevy/jsonrpc2) [![Coverage Status](https://coveralls.io/repos/github/AdamSLevy/jsonrpc2/badge.svg?branch=master)](https://coveralls.io/github/AdamSLevy/jsonrpc2?branch=master) diff --git a/example_test.go b/example_test.go index 75b5f19..7d5c17d 100644 --- a/example_test.go +++ b/example_test.go @@ -30,9 +30,7 @@ import ( "net/http" "os" - // Specify the package name to avoid goimports from reverting this - // import to an older version. - jsonrpc2 "github.com/AdamSLevy/jsonrpc2/v13" + "github.com/AdamSLevy/jsonrpc2/v14" ) var endpoint = "http://localhost:18888" diff --git a/go.mod b/go.mod index 8172fd9..69dea1d 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,5 @@ -module github.com/AdamSLevy/jsonrpc2/v13 +module github.com/AdamSLevy/jsonrpc2/v14 go 1.13 -require ( - github.com/AdamSLevy/jsonrpc2/v12 v12.0.1 - github.com/stretchr/testify v1.4.0 -) +require github.com/stretchr/testify v1.4.0 diff --git a/go.sum b/go.sum index 1c8024c..68164f9 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/AdamSLevy/jsonrpc2/v12 v12.0.1 h1:cVyqoBa4Qgw8bQj3vCBnZHOX/E+uvPM8TbQPobGwY8Q= -github.com/AdamSLevy/jsonrpc2/v12 v12.0.1/go.mod h1:UUmIu8A7Sjw+yI0tIc/iGQHoSu/7loifZ7E/AbjFFcI= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/request_test.go b/request_test.go index a5f2b39..acc11a7 100644 --- a/request_test.go +++ b/request_test.go @@ -18,12 +18,11 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. -package jsonrpc2_test +package jsonrpc2 import ( "testing" - . "github.com/AdamSLevy/jsonrpc2/v12" "github.com/stretchr/testify/assert" ) diff --git a/response_test.go b/response_test.go index bb109b2..95bc5c0 100644 --- a/response_test.go +++ b/response_test.go @@ -18,12 +18,11 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. -package jsonrpc2_test +package jsonrpc2 import ( "testing" - . "github.com/AdamSLevy/jsonrpc2/v12" "github.com/stretchr/testify/assert" )