Mercurial > gemma
diff pkg/imports/sr.go @ 1330:785f14264426
Follow the rules for error messages to make golint happy.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 25 Nov 2018 17:11:13 +0100 |
parents | d753ce6cf588 |
children | 5bb1e3c1f364 |
line wrap: on
line diff
--- a/pkg/imports/sr.go Sun Nov 25 17:05:19 2018 +0100 +++ b/pkg/imports/sr.go Sun Nov 25 17:11:13 2018 +0100 @@ -204,7 +204,7 @@ } if len(xyz) == 0 { - return errors.New("XYZ does not contain any vertices.") + return errors.New("XYZ does not contain any vertices") } // Is there a boundary shapefile in the ZIP archive?