Skip to content

Commit

Permalink
Switch to Go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
benweint authored and EtienneGuerlais committed Jun 9, 2022
1 parent f7b66cb commit 779e6ca
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 206 deletions.
159 changes: 0 additions & 159 deletions Gopkg.lock

This file was deleted.

37 changes: 0 additions & 37 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion cli/cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"path"
"strings"

"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package cmd

import (
"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package cmd
import (
"errors"

"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"log"

"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
)

func printResponse(response interface{}) error {
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/pause.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package cmd

import (
"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/resume.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package cmd

import (
"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"strings"

"github.com/ricardo-ch/go-kafka-connect/lib/connectors"
"github.com/ricardo-ch/go-kafka-connect/v3/lib/connectors"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package main

import "github.com/ricardo-ch/go-kafka-connect/cli/cmd"
import "github.com/ricardo-ch/go-kafka-connect/v3/cli/cmd"

func main() {
cmd.Execute()
Expand Down
23 changes: 23 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module github.com/ricardo-ch/go-kafka-connect/v3

go 1.17

require (
bou.ke/monkey v1.0.1
github.com/hashicorp/go-multierror v1.0.0
github.com/pkg/errors v0.8.1
github.com/spf13/cobra v0.0.1
github.com/stretchr/testify v1.1.4
gopkg.in/jarcoal/httpmock.v1 v1.0.0-20181117152235-275e9df93516
gopkg.in/resty.v1 v1.11.0
)

require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/pflag v1.0.0 // indirect
github.com/stretchr/objx v0.1.1 // indirect
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 // indirect
)
28 changes: 28 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
bou.ke/monkey v1.0.1 h1:zEMLInw9xvNakzUUPjfS4Ds6jYPqCFx3m7bRmG5NH2U=
bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o=
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/spf13/cobra v0.0.1 h1:zZh3X5aZbdnoj+4XkaBxKfhO4ot82icYdhhREIAXIj8=
github.com/spf13/cobra v0.0.1/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.0 h1:oaPbdDe/x0UncahuwiPxW1GYJyilRAdsPnq3e1yaPcI=
github.com/spf13/pflag v1.0.0/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.1.4 h1:ToftOQTytwshuOSj6bDSolVUa3GINfJP/fg3OkkOzQQ=
github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 h1:eH6Eip3UpmR+yM/qI9Ijluzb1bNv/cAU/n+6l8tRSis=
golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
gopkg.in/jarcoal/httpmock.v1 v1.0.0-20181117152235-275e9df93516 h1:H6trpavCIuipdInWrab8l34Mf+GGVfphniHostMdMaQ=
gopkg.in/jarcoal/httpmock.v1 v1.0.0-20181117152235-275e9df93516/go.mod h1:d3R+NllX3X5e0zlG1Rful3uLvsGC/Q3OHut5464DEQw=
gopkg.in/resty.v1 v1.11.0 h1:z5nqGs/W/h91PLOc+WZefPj8rRZe8Ctlgxg/AtbJ+NE=
gopkg.in/resty.v1 v1.11.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
3 changes: 1 addition & 2 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

.PHONY: install
install:
go get -u github.com/golang/dep/cmd/dep
dep ensure -v
go get ./...

.PHONY: test-integration
test-integration:
Expand Down

0 comments on commit 779e6ca

Please sign in to comment.