diff --git a/client/spec.go b/client/spec.go index 98b0e6e..398403e 100644 --- a/client/spec.go +++ b/client/spec.go @@ -10,7 +10,7 @@ type Spec struct { Timeout int64 `json:"timeout_secs,omitempty"` } -func (s Spec) Validate() error { +func (Spec) Validate() error { return nil } diff --git a/go.mod b/go.mod index 8123d84..93e60eb 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,7 @@ go 1.19 require ( github.com/cloudquery/plugin-sdk v1.35.0 + github.com/gorilla/mux v1.8.0 github.com/rs/zerolog v1.29.0 github.com/scaleway/scaleway-sdk-go v1.0.0-beta.13 ) @@ -13,7 +14,6 @@ require ( github.com/ghodss/yaml v1.0.0 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/google/uuid v1.3.0 // indirect - github.com/gorilla/mux v1.8.0 // indirect github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3 // indirect github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.0.0-rc.3 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/main.go b/main.go index ed8cb4c..9f921cf 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/scaleway/cq-source-scaleway/plugin" "github.com/cloudquery/plugin-sdk/serve" + "github.com/scaleway/cq-source-scaleway/plugin" ) func main() {