From 85f9ff114702c1a4c9187762d8a7a7779c49f130 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Tue, 28 Jan 2014 16:36:08 -0500 Subject: Small changes to pacify lint --- svgbasic.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svgbasic.go') 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) { -- cgit v1.2.1-24-ge1ad