16 lines
197 B
Go
16 lines
197 B
Go
package svg
|
|
|
|
import "fmt"
|
|
|
|
type (
|
|
Stroke string
|
|
)
|
|
|
|
func (Stroke) PrintKey() string {
|
|
return "stroke"
|
|
}
|
|
|
|
func (s Stroke) PrintValue() (string, bool) {
|
|
return fmt.Sprintf(`%q`, string(s)), true
|
|
}
|