Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { Type string `yaml:"Type"` Icon *DefinitionIcon `yaml:"Icon"` Label *DefinitionLabel `yaml:"Label"` Fill *DefinitionFill `yaml:"Fill"` Border *DefinitionBorder `yaml:"Border"` HeaderAlign string `yaml:"HeaderAlign"` Directory DefinitionDirectory `yaml:"Directory"` ZipFile DefinitionZipFile `yaml:"ZipFile"` CFn DefinitionCFn `yaml:"CFn"` Parent *Definition CacheFilePath string }
func (*Definition) String ¶
func (d *Definition) String() string
type DefinitionBorder ¶
type DefinitionCFn ¶
type DefinitionCFn struct {
HasChildren bool `yaml:"HasChildren"`
}
type DefinitionDirectory ¶
type DefinitionFill ¶
type DefinitionFill struct {
Color string `yaml:"Color"`
}
type DefinitionIcon ¶
[TODO] make interface
type DefinitionLabel ¶
type DefinitionStructure ¶
type DefinitionStructure struct {
Definitions map[string]*Definition `yaml:"Definitions"`
}
func (*DefinitionStructure) LoadDefinitions ¶
func (ds *DefinitionStructure) LoadDefinitions(filePath string) error
Click to show internal directories.
Click to hide internal directories.