fix v2 imports

This commit is contained in:
Robert Kaussow 2022-05-29 13:41:22 +02:00
parent 2732be2d93
commit 0a9d469dff
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
11 changed files with 17 additions and 17 deletions

View File

@ -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

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)