This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user