import "github.com/hashicorp/hcl/hcl/printer"
Package printer implements printing of AST nodes to HCL format.
Format formats src HCL and returns the result.
Fprint "pretty-prints" an HCL node to output It calls Config.Fprint with default settings.
type ByPosition []*ast.CommentGroup
func (b ByPosition) Len() int
func (b ByPosition) Less(i, j int) bool
func (b ByPosition) Swap(i, j int)
A Config node controls the output of Fprint.
Package printer imports 8 packages (graph) and is imported by 180 packages. Updated 2018-04-04. Refresh now. Tools for package owners.