Discover Packages
github.com/nobe4/seshat
internal
config
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 28, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Args struct {
Width float64 `yaml:"width"`
Height float64 `yaml:"height"`
Size float64 `yaml:"size"`
Features string `yaml:"features"`
Responsive bool `yaml:"responsive"`
Columns int `yaml:"columns"`
}
type Config struct {
Dir string `yaml:"dir"`
Path string `yaml:"path"`
Font string `yaml:"font"`
Output string `yaml:"output"`
Defaults Args `yaml:"defaults"`
Rules []Rule `yaml:"rules"`
}
func (c *Config ) PropagateDefaults()
type Rule struct {
Type string `yaml:"type"`
Features string `yaml:"features"`
Inputs []string `yaml:"inputs"`
Args Args `yaml:"args"`
}
func (r *Rule ) PropagateDefaults(defaults Args )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.