Skip to content

Commit 0fe2755

Browse files
authored
style: Reorder imports and organize project (#75)
1 parent 42b0819 commit 0fe2755

File tree

93 files changed

+287
-173
lines changed

Some content is hidden

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

93 files changed

+287
-173
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package main
22

33
import (
4-
"github.com/draios/terraform-provider-sysdig/sysdig"
54
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
5+
6+
"github.com/draios/terraform-provider-sysdig/sysdig"
67
)
78

89
func main() {

sysdig/data_source_sysdig_current_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package sysdig
22

33
import (
44
"context"
5-
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
65
"strconv"
76
"time"
87

8+
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1010
)
1111

sysdig/data_source_sysdig_current_user_test.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
package sysdig_test
22

33
import (
4-
"github.com/draios/terraform-provider-sysdig/sysdig"
5-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
6-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
74
"os"
85
"testing"
6+
7+
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
8+
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
9+
10+
"github.com/draios/terraform-provider-sysdig/sysdig"
911
)
1012

1113
func TestAccCurrentUser(t *testing.T) {

sysdig/data_source_sysdig_secure_notification_channel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ package sysdig
22

33
import (
44
"context"
5-
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
65
"regexp"
76
"strconv"
87
"strings"
98
"time"
109

10+
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1111
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1212
)
1313

sysdig/data_source_sysdig_secure_notification_channel_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package sysdig_test
22

33
import (
44
"fmt"
5-
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
65
"os"
76
"testing"
87

9-
"github.com/draios/terraform-provider-sysdig/sysdig"
108
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
119
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
10+
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
11+
12+
"github.com/draios/terraform-provider-sysdig/sysdig"
1213
)
1314

1415
func TestAccNotificationChannelDataSource(t *testing.T) {

sysdig/helpers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package sysdig
22

33
import (
44
"fmt"
5+
56
"github.com/hashicorp/go-cty/cty"
67
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
78
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)