Documentation
¶
Index ¶
Constants ¶
View Source
const ( JSON = "json" TOML = "toml" YAML = "yaml" YML = "yml" HCL = "hcl" )
View Source
const (
// DefaultFilePermission is the default file permission for output files (octal 644)
DefaultFilePermission = 644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// CLI flags
Input string
Output string
Force bool
Indent bool
EscapeHTML bool
OutputPermission uint32
// Internal values
InputIsFile bool
OutputIsFile bool
InputExtension string
OutputExtension string
InputReader io.Reader
ParsedOutputPermission uint32
}
Config holds all configuration for the application
Click to show internal directories.
Click to hide internal directories.