You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 line
472B

  1. package template
  2. // Panels contains a map with named panels.
  3. type Panels map[string]Panel
  4. // Panel contains all the lines and extra points to draw a panel.
  5. type Panel struct {
  6. Points Points `yaml:"points"`
  7. Lines Lines `yaml:"lines"`
  8. Allowances Allowances `yaml:"allowances"`
  9. Name string `yaml:"name"`
  10. Information Information `yaml:"information"`
  11. }
  12. type Allowances struct {
  13. Hem string `yaml:"hem"`
  14. Seam string `yaml:"seam"`
  15. }