diff options
Diffstat (limited to 'vendor/github.com/hashicorp/hcl2/hcldec/doc.go')
-rw-r--r-- | vendor/github.com/hashicorp/hcl2/hcldec/doc.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/hcl2/hcldec/doc.go b/vendor/github.com/hashicorp/hcl2/hcldec/doc.go new file mode 100644 index 0000000..23bfe54 --- /dev/null +++ b/vendor/github.com/hashicorp/hcl2/hcldec/doc.go | |||
@@ -0,0 +1,12 @@ | |||
1 | // Package hcldec provides a higher-level API for unpacking the content of | ||
2 | // HCL bodies, implemented in terms of the low-level "Content" API exposed | ||
3 | // by the bodies themselves. | ||
4 | // | ||
5 | // It allows decoding an entire nested configuration in a single operation | ||
6 | // by providing a description of the intended structure. | ||
7 | // | ||
8 | // For some applications it may be more convenient to use the "gohcl" | ||
9 | // package, which has a similar purpose but decodes directly into native | ||
10 | // Go data types. hcldec instead targets the cty type system, and thus allows | ||
11 | // a cty-driven application to remain within that type system. | ||
12 | package hcldec | ||