Move repl/ to internal/repl/

This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
This commit is contained in:
Martin Atkins 2021-05-17 09:39:14 -07:00
parent 70eebe3521
commit 2bd2568ad8
12 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/terraform/internal/backend"
"github.com/hashicorp/terraform/internal/helper/wrappedstreams"
"github.com/hashicorp/terraform/repl"
"github.com/hashicorp/terraform/internal/repl"
"github.com/hashicorp/terraform/tfdiags"
"github.com/mitchellh/cli"

View File

@ -10,7 +10,7 @@ import (
"io"
"github.com/hashicorp/terraform/internal/helper/wrappedreadline"
"github.com/hashicorp/terraform/repl"
"github.com/hashicorp/terraform/internal/repl"
"github.com/chzyer/readline"
"github.com/mitchellh/cli"

View File

@ -5,7 +5,7 @@ package command
import (
"fmt"
"github.com/hashicorp/terraform/repl"
"github.com/hashicorp/terraform/internal/repl"
"github.com/mitchellh/cli"
)

View File

@ -12,7 +12,7 @@ import (
ctyjson "github.com/zclconf/go-cty/cty/json"
"github.com/hashicorp/terraform/command/arguments"
"github.com/hashicorp/terraform/repl"
"github.com/hashicorp/terraform/internal/repl"
"github.com/hashicorp/terraform/states"
"github.com/hashicorp/terraform/tfdiags"
)

View File

@ -11,8 +11,8 @@ import (
"github.com/hashicorp/hcl/v2/hclsyntax"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/internal/repl"
"github.com/hashicorp/terraform/providers"
"github.com/hashicorp/terraform/repl"
"github.com/hashicorp/terraform/tfdiags"
)