From d32d53af6002492e71642119294b88b7404bafcd Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Tue, 14 Feb 2023 16:21:15 +0000 Subject: [PATCH 1/2] fix: Linting issues --- client/spec.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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() { From 6ab59436197faae8355dbd981fcd53c7a37c28ff Mon Sep 17 00:00:00 2001 From: Kemal Hadimli Date: Tue, 14 Feb 2023 16:39:23 +0000 Subject: [PATCH 2/2] go mod tidy --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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