Files
inventory-plus-plus/server/ui/svg/version.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
253 B
Go

package svg
import "fmt"
type (
SVGVersion struct {
Major int
Minor int
}
)
func (v SVGVersion) PrintKey() string {
return "version"
}
func (v SVGVersion) PrintValue() (string, bool) {
return fmt.Sprintf(`"%d.%d"`, v.Major, v.Minor), true
}