From abfe454d36aba0e5a4c4eba2ac3f5d2a638f0fb9 Mon Sep 17 00:00:00 2001 From: Hansen Date: Tue, 18 Feb 2020 11:54:25 +0700 Subject: [PATCH 1/2] Update Garyburd into Gomodule --- glide.lock | 13 +++++++------ glide.yaml | 2 +- ratelimit.go | 2 +- ratelimit_test.go | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/glide.lock b/glide.lock index 842988a..91209a0 100644 --- a/glide.lock +++ b/glide.lock @@ -1,10 +1,9 @@ -hash: 0fe817b9a9e7afdcc3ec000cfdd8df256d7dee80d537dd7da9bf3f1246e1e601 -updated: 2017-05-26T14:15:30.167877631+05:30 +hash: 5c7bd68e29c02959fe27683e44571104a098244a6830c614bfec035a1e20acc8 +updated: 2020-02-18T12:08:41.566305+07:00 imports: -- name: github.com/garyburd/redigo - version: 433969511232c397de61b1442f9fd49ec06ae9ba +- name: github.com/gomodule/redigo + version: 02dc2736dbc3a4a56907b0d5a9fead2f71b499db subpackages: - - internal - redis testImports: - name: github.com/davecgh/go-spew @@ -16,8 +15,10 @@ testImports: subpackages: - difflib - name: github.com/stretchr/testify - version: 69483b4bd14f5845b5a1e55bca19e954e827f1d0 + version: 221dbe5ed46703ee255b1da0dec05086f5035f62 subpackages: - assert - require - suite +- name: gopkg.in/yaml.v2 + version: 53403b58ad1b561927d19068c655246f2db79d48 diff --git a/glide.yaml b/glide.yaml index cdcfd96..8b2907a 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,6 +1,6 @@ package: github.com/gojek-engineering/go-ratelimit import: -- package: github.com/garyburd/redigo +- package: github.com/gomodule/redigo version: ^1.0.0 subpackages: - redis diff --git a/ratelimit.go b/ratelimit.go index 138fbf2..f02bf37 100644 --- a/ratelimit.go +++ b/ratelimit.go @@ -4,7 +4,7 @@ import ( "errors" "strconv" - "github.com/garyburd/redigo/redis" + "github.com/gomodule/redigo/redis" ) // ErrBlocked is returned when an attribute is rate limited diff --git a/ratelimit_test.go b/ratelimit_test.go index 0f25e51..d756ecb 100644 --- a/ratelimit_test.go +++ b/ratelimit_test.go @@ -3,7 +3,7 @@ package ratelimit import ( "testing" - "github.com/garyburd/redigo/redis" + "github.com/gomodule/redigo/redis" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" From b53060504b289424a67f1a728a96f6c483fef12f Mon Sep 17 00:00:00 2001 From: Hansen Date: Tue, 18 Feb 2020 12:26:19 +0700 Subject: [PATCH 2/2] Update golint Official Package Link --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9837d2a..a7e85be 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GLIDE_NOVENDOR=$(shell glide novendor) setup: mkdir -p $(GOPATH)/bin - go get -u github.com/golang/lint/golint + go get -u golang.org/x/lint/golint build-deps: glide install