Skip to content

Commit de3cf09

Browse files
committed
fix: go imports order
1 parent 38bc617 commit de3cf09

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

provider/app.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package provider
22

33
import (
44
"context"
5-
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
65
"regexp"
76

87
"github.com/google/uuid"
98
"github.com/hashicorp/go-cty/cty"
109
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1110
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
11+
12+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1213
)
1314

1415
var (

provider/metadata.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ package provider
22

33
import (
44
"context"
5-
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
5+
66
"github.com/google/uuid"
77
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
88
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
99
"golang.org/x/xerrors"
10+
11+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1012
)
1113

1214
func metadataResource() *schema.Resource {

provider/parameter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"encoding/hex"
77
"encoding/json"
88
"fmt"
9-
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
109
"os"
1110
"regexp"
1211
"strconv"
@@ -19,6 +18,8 @@ import (
1918
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
2019
"github.com/mitchellh/mapstructure"
2120
"golang.org/x/xerrors"
21+
22+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
2223
)
2324

2425
var (

provider/provider.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package provider
22

33
import (
44
"context"
5-
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
65
"net/url"
76
"reflect"
87
"strings"
@@ -11,6 +10,8 @@ import (
1110
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1211
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1312
"golang.org/x/xerrors"
13+
14+
"github.com/coder/terraform-provider-coder/v2/provider/helpers"
1415
)
1516

1617
type config struct {

0 commit comments

Comments
 (0)