summaryrefslogtreecommitdiff
path: root/ext/transform
diff options
context:
space:
mode:
authorMartin Atkins <mart@degeneration.co.uk>2019-09-09 16:08:19 -0700
committerMartin Atkins <mart@degeneration.co.uk>2019-09-09 16:08:19 -0700
commit6c4344623b6ac528a57f9b80e4622acfab2fde40 (patch)
tree83031084d3ab54abbe40e3fd749e439c8b28e9d1 /ext/transform
parent0f5ab3bd563c111077917020c0cbc8c211e1bff3 (diff)
Unfold the "hcl" directory up into the root
The main HCL package is more visible this way, and so it's easier than having to pick it out from dozens of other package directories.
Diffstat (limited to 'ext/transform')
-rw-r--r--ext/transform/error.go2
-rw-r--r--ext/transform/transform.go2
-rw-r--r--ext/transform/transform_test.go2
-rw-r--r--ext/transform/transformer.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/transform/error.go b/ext/transform/error.go
index f35c304..6063e2b 100644
--- a/ext/transform/error.go
+++ b/ext/transform/error.go
@@ -1,7 +1,7 @@
package transform
import (
- "github.com/hashicorp/hcl/v2/hcl"
+ "github.com/hashicorp/hcl/v2"
)
// NewErrorBody returns a hcl.Body that returns the given diagnostics whenever
diff --git a/ext/transform/transform.go b/ext/transform/transform.go
index ad99b8d..f0f5ff6 100644
--- a/ext/transform/transform.go
+++ b/ext/transform/transform.go
@@ -1,7 +1,7 @@
package transform
import (
- "github.com/hashicorp/hcl/v2/hcl"
+ "github.com/hashicorp/hcl/v2"
)
// Shallow is equivalent to calling transformer.TransformBody(body), and
diff --git a/ext/transform/transform_test.go b/ext/transform/transform_test.go
index 07a09ef..7b68aca 100644
--- a/ext/transform/transform_test.go
+++ b/ext/transform/transform_test.go
@@ -5,7 +5,7 @@ import (
"reflect"
- "github.com/hashicorp/hcl/v2/hcl"
+ "github.com/hashicorp/hcl/v2"
"github.com/hashicorp/hcl/v2/hcltest"
"github.com/zclconf/go-cty/cty"
)
diff --git a/ext/transform/transformer.go b/ext/transform/transformer.go
index 2950926..2599cdd 100644
--- a/ext/transform/transformer.go
+++ b/ext/transform/transformer.go
@@ -1,7 +1,7 @@
package transform
import (
- "github.com/hashicorp/hcl/v2/hcl"
+ "github.com/hashicorp/hcl/v2"
)
// A Transformer takes a given body, applies some (possibly no-op)