Documentation ¶
Index ¶
- Variables
- func DumpBlock(b components.IBlock, style *Style, startLine int) string
- func DumpConfig(c *components.Config, style *Style) string
- func DumpDirective(d components.IDirective, style *Style) string
- func GetConfig(path string) (*components.Config, error)
- func WriteConfig(c *components.Config, style *Style) error
- type Style
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IndentedStyle = &Style{ SpaceBeforeBlocks: false, StartIndent: 0, Indent: 4, } )
Functions ¶
func DumpConfig ¶
func DumpConfig(c *components.Config, style *Style) string
func DumpDirective ¶
func DumpDirective(d components.IDirective, style *Style) string
func WriteConfig ¶
func WriteConfig(c *components.Config, style *Style) error
Types ¶
Click to show internal directories.
Click to hide internal directories.