| 1 |
// Package hcl decodes HCL into usable Go structures. |
| 2 |
// |
| 3 |
// hcl input can come in either pure HCL format or JSON format. |
| 4 |
// It can be parsed into an AST, and then decoded into a structure, |
| 5 |
// or it can be decoded directly from a string into a structure. |
| 6 |
// |
| 7 |
// If you choose to parse HCL into a raw AST, the benefit is that you |
| 8 |
// can write custom visitor implementations to implement custom |
| 9 |
// semantic checks. By default, HCL does not perform any semantic |
| 10 |
// checks. |
| 11 |
package hcl |