mirror of
https://github.com/thegeeklab/drone-plugin-lib.git
synced 2024-11-22 00:40:39 +00:00
fix v2 imports
This commit is contained in:
parent
2732be2d93
commit
0a9d469dff
12
README.md
12
README.md
@ -13,17 +13,17 @@ Helper library to reduce the boilerplate code for writing Drone CI plugins.
|
|||||||
### Download the package
|
### Download the package
|
||||||
|
|
||||||
```Shell
|
```Shell
|
||||||
go get -d github.com/thegeeklab/drone-plugin-lib/errors
|
go get -d github.com/thegeeklab/drone-plugin-lib/v2/errors
|
||||||
go get -d github.com/thegeeklab/drone-plugin-lib/urfave
|
go get -d github.com/thegeeklab/drone-plugin-lib/v2/urfave
|
||||||
go get -d github.com/thegeeklab/drone-plugin-lib/drone
|
go get -d github.com/thegeeklab/drone-plugin-lib/v2/drone
|
||||||
```
|
```
|
||||||
|
|
||||||
### Import the package
|
### Import the package
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
import "github.com/thegeeklab/drone-plugin-lib/errors"
|
import "github.com/thegeeklab/drone-plugin-lib/v2/errors"
|
||||||
import "github.com/thegeeklab/drone-plugin-lib/urfave"
|
import "github.com/thegeeklab/drone-plugin-lib/v2/urfave"
|
||||||
import "github.com/thegeeklab/drone-plugin-lib/drone"
|
import "github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
@ -9,7 +9,7 @@ package urfave
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/thegeeklab/drone-plugin-lib/trace"
|
"github.com/thegeeklab/drone-plugin-lib/v2/trace"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ package urfave
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
package urfave
|
package urfave
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/thegeeklab/drone-plugin-lib/drone"
|
"github.com/thegeeklab/drone-plugin-lib/v2/drone"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user