From 0a9d469dffc52bab365ae28c8cef87054f3117c2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 29 May 2022 13:41:22 +0200 Subject: [PATCH] fix v2 imports --- README.md | 12 ++++++------ urfave/build.go | 2 +- urfave/calver.go | 2 +- urfave/commit.go | 2 +- urfave/network.go | 4 ++-- urfave/repo.go | 2 +- urfave/semver.go | 2 +- urfave/stage.go | 2 +- urfave/step.go | 2 +- urfave/system.go | 2 +- urfave/urfave.go | 2 +- 11 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index cfaa524..6627601 100644 --- a/README.md +++ b/README.md @@ -13,17 +13,17 @@ Helper library to reduce the boilerplate code for writing Drone CI plugins. ### Download the package ```Shell -go get -d github.com/thegeeklab/drone-plugin-lib/errors -go get -d github.com/thegeeklab/drone-plugin-lib/urfave -go get -d github.com/thegeeklab/drone-plugin-lib/drone +go get -d github.com/thegeeklab/drone-plugin-lib/v2/errors +go get -d github.com/thegeeklab/drone-plugin-lib/v2/urfave +go get -d github.com/thegeeklab/drone-plugin-lib/v2/drone ``` ### Import the package ```Go -import "github.com/thegeeklab/drone-plugin-lib/errors" -import "github.com/thegeeklab/drone-plugin-lib/urfave" -import "github.com/thegeeklab/drone-plugin-lib/drone" +import "github.com/thegeeklab/drone-plugin-lib/v2/errors" +import "github.com/thegeeklab/drone-plugin-lib/v2/urfave" +import "github.com/thegeeklab/drone-plugin-lib/v2/drone" ``` ## Contributors diff --git a/urfave/build.go b/urfave/build.go index 0d4478d..77b406b 100644 --- a/urfave/build.go +++ b/urfave/build.go @@ -9,7 +9,7 @@ package urfave import ( "time" - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/calver.go b/urfave/calver.go index c10b2cd..5c2f183 100644 --- a/urfave/calver.go +++ b/urfave/calver.go @@ -3,7 +3,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/commit.go b/urfave/commit.go index 3b8b122..b87616c 100644 --- a/urfave/commit.go +++ b/urfave/commit.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/network.go b/urfave/network.go index b0c9cd3..5e528e4 100644 --- a/urfave/network.go +++ b/urfave/network.go @@ -14,8 +14,8 @@ import ( "time" "github.com/sirupsen/logrus" - "github.com/thegeeklab/drone-plugin-lib/drone" - "github.com/thegeeklab/drone-plugin-lib/trace" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/trace" "github.com/urfave/cli/v2" ) diff --git a/urfave/repo.go b/urfave/repo.go index d8919a4..338767d 100644 --- a/urfave/repo.go +++ b/urfave/repo.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/semver.go b/urfave/semver.go index 291edcf..3dd7fb4 100644 --- a/urfave/semver.go +++ b/urfave/semver.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/stage.go b/urfave/stage.go index d2f32b0..9d25d30 100644 --- a/urfave/stage.go +++ b/urfave/stage.go @@ -9,7 +9,7 @@ package urfave import ( "time" - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/step.go b/urfave/step.go index 78a79fd..7181e1d 100644 --- a/urfave/step.go +++ b/urfave/step.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/system.go b/urfave/system.go index 41bc9b2..05e250b 100644 --- a/urfave/system.go +++ b/urfave/system.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" ) diff --git a/urfave/urfave.go b/urfave/urfave.go index a095d77..ae8b033 100644 --- a/urfave/urfave.go +++ b/urfave/urfave.go @@ -7,7 +7,7 @@ package urfave import ( - "github.com/thegeeklab/drone-plugin-lib/drone" + "github.com/thegeeklab/drone-plugin-lib/v2/drone" "github.com/urfave/cli/v2" )