diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2014-01-28 16:36:08 -0500 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2014-01-28 16:36:08 -0500 |
commit | 85f9ff114702c1a4c9187762d8a7a7779c49f130 (patch) | |
tree | 6938937e90f1e2de7cf2cb835b1e9e1e44c661ee | |
parent | 55cf6e36dddf2306d28378592dbf1ceea7455ccb (diff) |
Small changes to pacify lint
-rw-r--r-- | svgbasic.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svgbasic.go b/svgbasic.go index 585d9c0..526f4eb 100644 --- a/svgbasic.go +++ b/svgbasic.go @@ -148,7 +148,7 @@ func pathParse(pathStr string) (segs []SvgBasicSegmentType, err error) { if argCount == 0 { absolutizePath(segs) } else { - err = fmt.Errorf("Expecting additional (%d) numeric arguments", argCount) + err = fmt.Errorf("expecting additional (%d) numeric arguments", argCount) } } return @@ -191,14 +191,14 @@ func SvgBasicParse(buf []byte) (sig SvgBasicType, err error) { } } } else { - err = fmt.Errorf("Unacceptable values for basic SVG extent: %.2f x %.2f", + err = fmt.Errorf("unacceptable values for basic SVG extent: %.2f x %.2f", sig.Wd, sig.Ht) } } return } -// SvgBasicParse parses a simple scalable vector graphics (SVG) file into a +// SvgBasicFileParse parses a simple scalable vector graphics (SVG) file into a // basic descriptor. See SvgBasicParse for additional comments and tutorial 20 // for an example of this function. func SvgBasicFileParse(svgFileStr string) (sig SvgBasicType, err error) { |