Skip to content

Commit e4d8d05

Browse files
authored
chore: fix misconfigured goimport linter setting (#6104)
Fix import groupings to satisfy corrected goimports linter settings
1 parent 2ea840d commit e4d8d05

File tree

54 files changed

+55
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+55
-2
lines changed

core/auth/auth_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515

1616
"github.com/golang-jwt/jwt/v5"
1717
"github.com/google/uuid"
18+
1819
"github.com/stackitcloud/stackit-sdk-go/core/clients"
1920
"github.com/stackitcloud/stackit-sdk-go/core/config"
2021
)

core/clients/auth_flow.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"time"
1010

1111
"github.com/golang-jwt/jwt/v5"
12+
1213
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1314
)
1415

core/clients/continuous_refresh_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"time"
1313

1414
"github.com/golang-jwt/jwt/v5"
15+
1516
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1617
)
1718

core/wait/wait_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"github.com/google/go-cmp/cmp"
1111
"github.com/google/go-cmp/cmp/cmpopts"
12+
1213
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1314
)
1415

core/wait/waiterhelper_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"testing"
77

88
"github.com/google/go-cmp/cmp"
9+
910
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1011
)
1112

examples/edge/edge.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ import (
66
"os"
77
"time"
88

9+
"gopkg.in/yaml.v3"
10+
911
"github.com/stackitcloud/stackit-sdk-go/core/utils"
1012
edge "github.com/stackitcloud/stackit-sdk-go/services/edge/v1beta1api"
1113
"github.com/stackitcloud/stackit-sdk-go/services/edge/v1beta1api/wait"
12-
"gopkg.in/yaml.v3"
1314
)
1415

1516
func main() {

golang-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ linters-settings:
1212
goimports:
1313
# put imports beginning with prefix after 3rd-party packages;
1414
# it's a comma-separated list of prefixes
15-
local-prefixes: github.com/freiheit-com/nmww
15+
local-prefixes: github.com/stackitcloud/stackit-sdk-go
1616
depguard:
1717
rules:
1818
main:

services/alb/v2api/wait/wait_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"github.com/google/go-cmp/cmp"
1111
"github.com/google/uuid"
12+
1213
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1314
"github.com/stackitcloud/stackit-sdk-go/core/utils"
1415
alb "github.com/stackitcloud/stackit-sdk-go/services/alb/v2api"

services/alb/wait/wait_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"github.com/google/go-cmp/cmp"
1111
"github.com/google/uuid"
12+
1213
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1314
"github.com/stackitcloud/stackit-sdk-go/core/utils"
1415
"github.com/stackitcloud/stackit-sdk-go/services/alb"

services/cdn/v1api/wait/wait_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010

1111
"github.com/google/go-cmp/cmp"
1212
"github.com/google/go-cmp/cmp/cmpopts"
13+
1314
"github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1415
"github.com/stackitcloud/stackit-sdk-go/core/utils"
1516
cdn "github.com/stackitcloud/stackit-sdk-go/services/cdn/v1api"

0 commit comments

Comments
 (0)