From 72fece2f1f60d187899a73420f07f2e8bfe60517 Mon Sep 17 00:00:00 2001 From: Ricardo Osorio Date: Tue, 17 May 2022 14:59:29 +0000 Subject: [PATCH] Set go module as v2 as per hard requirements For more info read https://go.dev/ref/mod#go-mod-file-replace "+incompatible versions" --- errors/errors.go | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/errors/errors.go b/errors/errors.go index ef8cea8..93892d3 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -4,7 +4,7 @@ import ( "fmt" "net/http" - api "github.com/storageos/go-api/autogenerated" + api "github.com/storageos/go-api/v2/autogenerated" ) // badRequestError indicates that the request made by the client is invalid. diff --git a/go.mod b/go.mod index b88e707..fef5bad 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/storageos/go-api +module github.com/storageos/go-api/v2 go 1.17