From cfcfbdeee86334601cb310b6f52d027c37c55847 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 24 Sep 2019 15:38:34 +0200 Subject: [PATCH] fix(pkg/hub): changed import path for go-logger library --- go.mod | 4 ++-- go.sum | 10 ++++++++++ pkg/hub/hub.go | 2 +- pkg/hub/hub_test.go | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index e748289..6a9e889 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.13 require ( github.com/Masterminds/semver v1.5.0 - github.com/d2r2/go-logger v0.0.0-20181221090742-9998a510495e github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be - github.com/stretchr/testify v1.3.0 + github.com/stretchr/testify v1.4.0 + github.com/volker-raschek/go-logger v0.0.0-20190924133618-4a42099e655f ) diff --git a/go.sum b/go.sum index e4f5b23..5666670 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,10 @@ github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be h1:jCs/SAXdXUA0aq github.com/go-flucky/flucky v0.0.0-20190714170626-0dd156f480be/go.mod h1:WNT729lCsTFhT6Vyvg6cG8aHV1t6p+DsA8l4omOuaos= github.com/go-flucky/go-dht v0.1.1/go.mod h1:Yk/cct+/u+eCS7pB/kc0tc7MrVXdFI4W15MJCj5FRUc= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= @@ -22,5 +24,13 @@ github.com/stianeikeland/go-rpio v4.2.0+incompatible/go.mod h1:Sh81rdJwD96E2wja2 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/volker-raschek/go-logger v0.0.0-20190924133618-4a42099e655f h1:e14Zt+f1EQkiwAorEkMO97S/bTUcoVLZAvgAR8yy/yc= +github.com/volker-raschek/go-logger v0.0.0-20190924133618-4a42099e655f/go.mod h1:V4TEAy1Kx45GPlB2VvS5mVpNfSksNDDuEgk7wm7cd0k= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= periph.io/x/periph v3.4.0+incompatible/go.mod h1:EWr+FCIU2dBWz5/wSWeiIUJTriYv9v2j2ENBmgYyy7Y= diff --git a/pkg/hub/hub.go b/pkg/hub/hub.go index 7994e59..e30fb99 100644 --- a/pkg/hub/hub.go +++ b/pkg/hub/hub.go @@ -10,8 +10,8 @@ import ( "strconv" "strings" - "github.com/go-flucky/flucky/pkg/logger" "github.com/volker-raschek/docker-hub-description-updater/pkg/types" + "github.com/volker-raschek/go-logger/pkg/logger" ) var ( diff --git a/pkg/hub/hub_test.go b/pkg/hub/hub_test.go index 316366b..592372e 100644 --- a/pkg/hub/hub_test.go +++ b/pkg/hub/hub_test.go @@ -4,10 +4,10 @@ import ( "os" "testing" - flogger "github.com/go-flucky/flucky/pkg/logger" "github.com/stretchr/testify/require" "github.com/volker-raschek/docker-hub-description-updater/pkg/hub" "github.com/volker-raschek/docker-hub-description-updater/pkg/types" + flogger "github.com/volker-raschek/go-logger/pkg/logger" ) func TestPatchRepository(t *testing.T) {