Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct {
// Name of the column
Name string `yaml:"name"`
// Type of the column will be generated
Type string `yaml:"type"`
// Option
Option []string `yaml:"options,flow"`
}
Column struct to keep config to generate column
type Documents ¶
type Documents struct {
// Name of the output file
Name string `yaml:"name"`
// Column configs should be generated
Columns []Column `yaml:"columns"`
// Count is total row
Count int `yaml:"rows"`
}
Documents struct to keep config to generate document
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser uses to parse yaml document
func (Parser) PreparedDocument ¶
PreparedDocument are all documents will generate
Click to show internal directories.
Click to hide internal directories.