File: hcl.go

package info (click to toggle)
golang-github-hashicorp-hcl 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, bullseye, bullseye-backports, experimental, sid, trixie
  • size: 1,028 kB
  • sloc: makefile: 22
file content (11 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
// Package hcl decodes HCL into usable Go structures.
//
// hcl input can come in either pure HCL format or JSON format.
// It can be parsed into an AST, and then decoded into a structure,
// or it can be decoded directly from a string into a structure.
//
// If you choose to parse HCL into a raw AST, the benefit is that you
// can write custom visitor implementations to implement custom
// semantic checks. By default, HCL does not perform any semantic
// checks.
package hcl