From fbad18240eb139f998c0515b61f2217a2ced5c58 Mon Sep 17 00:00:00 2001 From: David Christofas Date: Tue, 4 Feb 2020 16:35:25 +0100 Subject: [PATCH 1/2] add module version to module path The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more information. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index f29935e4d..923ca4460 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/owncloud/ocis-pkg +module github.com/owncloud/ocis-pkg/v2 go 1.13 From 47a6986cdd74b6ca14cea2f38997d6edbd6fc91a Mon Sep 17 00:00:00 2001 From: David Christofas Date: Tue, 4 Feb 2020 16:54:31 +0100 Subject: [PATCH 2/2] fix import path --- service/grpc/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/grpc/service.go b/service/grpc/service.go index d09891eaa..ddbfa1f9b 100644 --- a/service/grpc/service.go +++ b/service/grpc/service.go @@ -6,7 +6,7 @@ import ( "github.com/micro/go-micro/v2" "github.com/micro/go-plugins/wrapper/trace/opencensus/v2" - "github.com/owncloud/ocis-pkg/wrapper/prometheus" + "github.com/owncloud/ocis-pkg/v2/wrapper/prometheus" ) // Service simply wraps the go-micro grpc service.