Documentation ¶
Overview ¶
Package printer implements printing of AST nodes to HCL format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
SpacesWidth: 2,
}
Functions ¶
Types ¶
type ByPosition ¶
type ByPosition []*ast.CommentGroup
func (ByPosition) Len ¶
func (b ByPosition) Len() int
func (ByPosition) Less ¶
func (b ByPosition) Less(i, j int) bool
func (ByPosition) Swap ¶
func (b ByPosition) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.