Skip to content

Commit

Permalink
hclparse: Go package documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
apparentlymart committed Oct 1, 2019
1 parent dca4acc commit c29bdc1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hclparse/parser.go
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit c29bdc1

Please sign in to comment.