Mercurial > gemma
diff pkg/imports/wkb.go @ 4177:8b75ac5e243e
Made 'staticcheck' happy with pgxutils package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 05 Aug 2019 17:16:46 +0200 |
parents | 63475c8e710e |
children | 5da02dcc51f6 |
line wrap: on
line diff
--- a/pkg/imports/wkb.go Mon Aug 05 16:58:53 2019 +0200 +++ b/pkg/imports/wkb.go Mon Aug 05 17:16:46 2019 +0200 @@ -120,7 +120,7 @@ case *shp.PolygonM: return toPolygon(p.NumParts, p.Parts, p.Points), nil } - return nil, fmt.Errorf("Unsupported shape type %T", s) + return nil, fmt.Errorf("unsupported shape type %T", s) } func toPolygon(numParts int32, parts []int32, points []shp.Point) polygonSlice {