16 lines
208 B
Go
16 lines
208 B
Go
package svg
|
|
|
|
import "fmt"
|
|
|
|
type (
|
|
PathLength float64
|
|
)
|
|
|
|
func (PathLength) PrintKey() string {
|
|
return "pathLength"
|
|
}
|
|
|
|
func (l PathLength) PrintValue() (string, bool) {
|
|
return fmt.Sprintf(`"%v"`, l), true
|
|
}
|