hclparse: Go package documentation

This commit is contained in:
Martin Atkins 2019-09-10 14:39:53 -07:00
parent dca4accff0
commit c29bdc1243
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
// Package hclparse has the main API entry point for parsing both HCL native
// syntax and HCL JSON.
//
// The main HCL package also includes SimpleParse and SimpleParseFile which
// can be a simpler interface for the common case where an application just
// needs to parse a single file. The gohcl package simplifies that further
// in its SimpleDecode function, which combines hcl.SimpleParse with decoding
// into Go struct values
//
// Package hclparse, then, is useful for applications that require more fine
// control over parsing or which need to load many separate files and keep
// track of them for possible error reporting or other analysis.
package hclparse
import (