Files
inventory-plus-plus/server/ui/svg/y1.go
T
angel 50adc8e2de
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Tests / Go tests (push) Failing after 20s
prototyped svg reports
2026-08-20 00:35:13 -06:00

25 lines
338 B
Go

package svg
type (
Y1 struct {
*LengthAttr[Y1Tag]
}
Y1P struct {
PercentageAttr[Y1Tag]
}
Y1Tag struct{}
)
func (l *Length) AsY1() Y1 {
return Y1{LengthAttr: (*LengthAttr[Y1Tag])(l)}
}
func (p Percentage) AsY1() Y1P {
return Y1P{PercentageAttr: (PercentageAttr[Y1Tag])(p)}
}
func (Y1Tag) PrintTag() string {
return "y1"
}