Skip to content

Commit

Permalink
chore: run goimports-reviser to order imports (#378)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Apr 9, 2021
1 parent 339d13e commit 44b8e58
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 14 deletions.
3 changes: 2 additions & 1 deletion api/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
"github.com/lacework/go-sdk/internal/lacework"
"github.com/stretchr/testify/assert"
)

func TestEventsSeverity(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion api/http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ import (
"net/http"
"testing"

"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
"github.com/lacework/go-sdk/internal/lacework"
"github.com/stretchr/testify/assert"
)

func TestNewRequest(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion api/integration_alert_channels_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ package api_test
import (
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestAlertLevelValid(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion api/integrations_ctr_reg_ecr_access_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ package api_test
import (
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestIntegrationsNewAwsEcrAccessKeyIntegration(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion api/integrations_ctr_reg_ecr_cross_account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ package api_test
import (
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestIntegrationsNewAwsEcrWitCrossAccountIntegration(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion api/integrations_ctr_reg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ package api_test
import (
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestIntegrationsNewContainerRegIntegration(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion api/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"os"
"syscall"

"github.com/pkg/errors"
"go.uber.org/zap"

"github.com/lacework/go-sdk/lwlogger"
"github.com/pkg/errors"
)

// WithLogLevel sets the log level of the client, available: info or debug
Expand Down
3 changes: 2 additions & 1 deletion api/vulnerabilities_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ import (
"strings"
"time"

"github.com/lacework/go-sdk/internal/array"
"github.com/pkg/errors"

"github.com/lacework/go-sdk/internal/array"
)

// ContainerVulnerabilityService is a service that interacts with the vulnerabilities
Expand Down
3 changes: 2 additions & 1 deletion cli/cmd/access_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ package cmd
import (
"fmt"

"github.com/lacework/go-sdk/api"
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/lacework/go-sdk/api"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion cli/cmd/compliance_gcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import (
"fmt"
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestSplitIDAndAlias(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion cli/cmd/compliance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ package cmd
import (
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

func TestComplianceRecommendationsFilterNoResults(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cli/cmd/vuln_html.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import (
"sort"
"strings"

"github.com/lacework/go-sdk/internal/databox"
"github.com/pkg/errors"

"github.com/lacework/go-sdk/api"
"github.com/lacework/go-sdk/internal/databox"
)

const (
Expand Down
3 changes: 2 additions & 1 deletion integration/host_vulnerability_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ import (
"runtime"
"testing"

"github.com/lacework/go-sdk/api"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/api"
)

// persistent host "ip-10-0-1-170.us-west-2.compute.internal"
Expand Down
3 changes: 2 additions & 1 deletion integration/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ import (
"testing"
"time"

"github.com/lacework/go-sdk/lwupdater"
"github.com/stretchr/testify/assert"

"github.com/lacework/go-sdk/lwupdater"
)

// To test the daily version check we need to set the environment
Expand Down

0 comments on commit 44b8e58

Please sign in to comment.