diff --git a/internal/imports/imports_linux.go b/internal/imports/imports_linux.go index d63b186..68fea77 100644 --- a/internal/imports/imports_linux.go +++ b/internal/imports/imports_linux.go @@ -5,11 +5,29 @@ 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" @@ -62,20 +80,4 @@ 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" ) diff --git a/main_test.go b/main_test.go index 3ea8975..276fab8 100644 --- a/main_test.go +++ b/main_test.go @@ -25,9 +25,10 @@ import ( "os" "testing" + "github.com/stretchr/testify/require" + main "github.com/networkservicemesh/cmd-nse-simple-vl3-docker" "github.com/networkservicemesh/sdk/pkg/tools/sandbox" - "github.com/stretchr/testify/require" ) func TestEndpointRegister(t *testing.T) {