Files
inventory-plus-plus/server/ui/svg/x.go
T
angel 82efe19ae0
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
prototyped svg reports
2026-08-19 23:19:41 -06:00

25 lines
323 B
Go

package svg
type (
X struct {
*LengthAttr[XTag]
}
XP struct {
PercentageAttr[XTag]
}
XTag struct{}
)
func (l *Length) AsX() X {
return X{LengthAttr: (*LengthAttr[XTag])(l)}
}
func (p Percentage) AsX() XP {
return XP{PercentageAttr: (PercentageAttr[XTag])(p)}
}
func (XTag) PrintTag() string {
return "x"
}