diff --git a/accounting/state/limiter_test.go b/accounting/state/limiter_test.go index 634e0a6..77c8ec2 100644 --- a/accounting/state/limiter_test.go +++ b/accounting/state/limiter_test.go @@ -1,4 +1,3 @@ -//nolint package state import ( diff --git a/accounting/storing_test.go b/accounting/storing_test.go index 32dbe74..978626c 100644 --- a/accounting/storing_test.go +++ b/accounting/storing_test.go @@ -1,4 +1,3 @@ -//nolint package accounting import ( diff --git a/authenticate/authenticate.go b/authenticate/authenticate.go index 7eb40ea..32aa3c2 100644 --- a/authenticate/authenticate.go +++ b/authenticate/authenticate.go @@ -88,7 +88,7 @@ func Do(ctx *fasthttp.RequestCtx, path string) (int32, error) { return 0, err } - //TODO backward capability for isp-config-service 1.x.x + // TODO backward capability for isp-config-service 1.x.x uuid := config.Get().(*conf.Configuration).InstanceUuid ctx.Request.Header.Set(utils.InstanceIdHeader, uuid) diff --git a/proxy/grpc/handlers/common.go b/proxy/grpc/handlers/common.go index 85c29d0..0654361 100644 --- a/proxy/grpc/handlers/common.go +++ b/proxy/grpc/handlers/common.go @@ -6,7 +6,6 @@ import ( "net/http" "time" - "github.com/golang/protobuf/proto" structpb "github.com/golang/protobuf/ptypes/struct" "github.com/integration-system/isp-lib/v2/backend" "github.com/integration-system/isp-lib/v2/config" @@ -21,6 +20,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" "isp-gate-service/conf" "isp-gate-service/domain" "isp-gate-service/log_code" diff --git a/proxy/grpc/handlers/handle_get_file.go b/proxy/grpc/handlers/handle_get_file.go index 3af8bb3..28e1606 100644 --- a/proxy/grpc/handlers/handle_get_file.go +++ b/proxy/grpc/handlers/handle_get_file.go @@ -84,7 +84,6 @@ func (g getFileDesc) Complete(ctx *fasthttp.RequestCtx, method string, client *b return domain.Create().SetError(err) } -//nolint func (getFileDesc) write(ctx *fasthttp.RequestCtx, stream isp.BackendService_RequestStreamClient, method string) error { for { msg, err := stream.Recv() diff --git a/proxy/proxy_test.go b/proxy/proxy_test.go index 3b7bce3..cd06e5e 100644 --- a/proxy/proxy_test.go +++ b/proxy/proxy_test.go @@ -1,4 +1,4 @@ -package proxy //nolint +package proxy import ( "testing" diff --git a/service/matcher/matcher_test.go b/service/matcher/matcher_test.go index 20d636f..b4651c3 100644 --- a/service/matcher/matcher_test.go +++ b/service/matcher/matcher_test.go @@ -1,4 +1,3 @@ -//nolint package matcher import (