Files
inventory-plus-plus/server/ui/svg/class.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

19 lines
227 B
Go

package svg
import (
"fmt"
"html"
)
type (
Class string
)
func (Class) PrintKey() string {
return "class"
}
func (c Class) PrintValue() (string, bool) {
return fmt.Sprintf(`"%s"`, html.EscapeString(string(c))), true
}