Files
inventory-plus-plus/server/ui/svg/x2.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 (
X2 struct {
*LengthAttr[X2Tag]
}
X2P struct {
PercentageAttr[X2Tag]
}
X2Tag struct{}
)
func (l *Length) AsX2() X2 {
return X2{LengthAttr: (*LengthAttr[X2Tag])(l)}
}
func (p Percentage) AsX2() X2P {
return X2P{PercentageAttr: (PercentageAttr[X2Tag])(p)}
}
func (X2Tag) PrintTag() string {
return "x2"
}