Skip to content

Commit

Permalink
style: goimports fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonc committed Jul 25, 2022
1 parent 166d21b commit e1fa690
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion internal/backend/local/backend_local_test.go
Expand Up @@ -6,6 +6,8 @@ import (
"path/filepath"
"testing"

"github.com/zclconf/go-cty/cty"

"github.com/hashicorp/terraform/internal/backend"
"github.com/hashicorp/terraform/internal/command/arguments"
"github.com/hashicorp/terraform/internal/command/clistate"
Expand All @@ -20,7 +22,6 @@ import (
"github.com/hashicorp/terraform/internal/states/statemgr"
"github.com/hashicorp/terraform/internal/terminal"
"github.com/hashicorp/terraform/internal/tfdiags"
"github.com/zclconf/go-cty/cty"
)

func TestLocalRun(t *testing.T) {
Expand Down
9 changes: 5 additions & 4 deletions internal/cloud/backend.go
Expand Up @@ -16,17 +16,18 @@ import (
version "github.com/hashicorp/go-version"
svchost "github.com/hashicorp/terraform-svchost"
"github.com/hashicorp/terraform-svchost/disco"
"github.com/mitchellh/cli"
"github.com/mitchellh/colorstring"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"

"github.com/hashicorp/terraform/internal/backend"
"github.com/hashicorp/terraform/internal/configs/configschema"
"github.com/hashicorp/terraform/internal/plans"
"github.com/hashicorp/terraform/internal/states/statemgr"
"github.com/hashicorp/terraform/internal/terraform"
"github.com/hashicorp/terraform/internal/tfdiags"
tfversion "github.com/hashicorp/terraform/version"
"github.com/mitchellh/cli"
"github.com/mitchellh/colorstring"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"

backendLocal "github.com/hashicorp/terraform/internal/backend/local"
)
Expand Down
5 changes: 3 additions & 2 deletions internal/cloud/state.go
Expand Up @@ -8,11 +8,12 @@ import (
"strings"

"github.com/hashicorp/go-tfe"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"

"github.com/hashicorp/terraform/internal/states"
"github.com/hashicorp/terraform/internal/states/remote"
"github.com/hashicorp/terraform/internal/states/statemgr"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"
)

// State is similar to remote State and delegates to it, except in the case of output values,
Expand Down
1 change: 1 addition & 0 deletions internal/cloud/state_test.go
Expand Up @@ -4,6 +4,7 @@ import (
"testing"

"github.com/hashicorp/go-tfe"

"github.com/hashicorp/terraform/internal/states/statemgr"
)

Expand Down
5 changes: 3 additions & 2 deletions internal/cloud/testing.go
Expand Up @@ -15,6 +15,9 @@ import (
svchost "github.com/hashicorp/terraform-svchost"
"github.com/hashicorp/terraform-svchost/auth"
"github.com/hashicorp/terraform-svchost/disco"
"github.com/mitchellh/cli"
"github.com/zclconf/go-cty/cty"

"github.com/hashicorp/terraform/internal/backend"
"github.com/hashicorp/terraform/internal/configs"
"github.com/hashicorp/terraform/internal/configs/configschema"
Expand All @@ -24,8 +27,6 @@ import (
"github.com/hashicorp/terraform/internal/terraform"
"github.com/hashicorp/terraform/internal/tfdiags"
"github.com/hashicorp/terraform/version"
"github.com/mitchellh/cli"
"github.com/zclconf/go-cty/cty"

backendLocal "github.com/hashicorp/terraform/internal/backend/local"
)
Expand Down
1 change: 1 addition & 0 deletions internal/states/remote/state.go
Expand Up @@ -6,6 +6,7 @@ import (
"sync"

uuid "github.com/hashicorp/go-uuid"

"github.com/hashicorp/terraform/internal/states"
"github.com/hashicorp/terraform/internal/states/statefile"
"github.com/hashicorp/terraform/internal/states/statemgr"
Expand Down
1 change: 1 addition & 0 deletions internal/states/statemgr/persistent.go
Expand Up @@ -2,6 +2,7 @@ package statemgr

import (
version "github.com/hashicorp/go-version"

"github.com/hashicorp/terraform/internal/states"
)

Expand Down

0 comments on commit e1fa690

Please sign in to comment.