Files
inventory-plus-plus/server/ui/svg/cy.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 (
CY struct {
*LengthAttr[CYTag]
}
CYP struct {
PercentageAttr[CYTag]
}
CYTag struct{}
)
func (l *Length) AsCY() CY {
return CY{LengthAttr: (*LengthAttr[CYTag])(l)}
}
func (p Percentage) AsCY() CYP {
return CYP{PercentageAttr: (PercentageAttr[CYTag])(p)}
}
func (CYTag) PrintTag() string {
return "cy"
}