From 05b7125586c1313642a8e76cc6090e975c076c75 Mon Sep 17 00:00:00 2001 From: Ivan Osipov Date: Fri, 1 Sep 2023 02:55:13 +0400 Subject: [PATCH] Fix linting errors Signed-off-by: Ivan Osipov --- internal/imports/imports_linux.go | 34 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/internal/imports/imports_linux.go b/internal/imports/imports_linux.go index 68fea77..d63b186 100644 --- a/internal/imports/imports_linux.go +++ b/internal/imports/imports_linux.go @@ -5,29 +5,11 @@ import ( _ "context" _ "crypto/tls" _ "fmt" - _ "net" - _ "net/url" - _ "os" - _ "os/signal" - _ "path/filepath" - _ "syscall" - _ "testing" - _ "time" - _ "git.fd.io/govpp.git/api" _ "github.com/antonfisher/nested-logrus-formatter" _ "github.com/edwarnicke/grpcfd" _ "github.com/google/uuid" _ "github.com/kelseyhightower/envconfig" - _ "github.com/pkg/errors" - _ "github.com/sirupsen/logrus" - _ "github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig" - _ "github.com/spiffe/go-spiffe/v2/workloadapi" - _ "github.com/stretchr/testify/require" - _ "github.com/vishvananda/netlink" - _ "google.golang.org/grpc" - _ "google.golang.org/grpc/credentials" - _ "github.com/networkservicemesh/api/pkg/api/ipam" _ "github.com/networkservicemesh/api/pkg/api/networkservice" _ "github.com/networkservicemesh/api/pkg/api/networkservice/mechanisms/cls" @@ -80,4 +62,20 @@ import ( _ "github.com/networkservicemesh/sdk/pkg/tools/token" _ "github.com/networkservicemesh/sdk/pkg/tools/tracing" _ "github.com/networkservicemesh/vpphelper" + _ "github.com/pkg/errors" + _ "github.com/sirupsen/logrus" + _ "github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig" + _ "github.com/spiffe/go-spiffe/v2/workloadapi" + _ "github.com/stretchr/testify/require" + _ "github.com/vishvananda/netlink" + _ "google.golang.org/grpc" + _ "google.golang.org/grpc/credentials" + _ "net" + _ "net/url" + _ "os" + _ "os/signal" + _ "path/filepath" + _ "syscall" + _ "testing" + _ "time" )