Mercurial > gemma
comparison pkg/models/common.go @ 4847:4847ac70103a
Made staticcheck happy.
- error strings should not end with punctuation or a newline (ST1005)
- error strings should not be capitalized (ST1005)
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 18 Nov 2019 11:54:20 +0100 |
parents | 8080007d3c06 |
children | d19fdf3d2099 |
comparison
equal
deleted
inserted
replaced
4846:c69e35ec6adf | 4847:4847ac70103a |
---|---|
23 | 23 |
24 "gemma.intevation.de/gemma/pkg/common" | 24 "gemma.intevation.de/gemma/pkg/common" |
25 ) | 25 ) |
26 | 26 |
27 var ( | 27 var ( |
28 errNoString = errors.New("Not a string") | 28 errNoString = errors.New("not a string") |
29 errNoByteSlice = errors.New("Not a byte slice") | 29 errNoByteSlice = errors.New("not a byte slice") |
30 ) | 30 ) |
31 | 31 |
32 // WGS84 is the EPSG of the World Geodetic System 1984. | 32 // WGS84 is the EPSG of the World Geodetic System 1984. |
33 const WGS84 = 4326 | 33 const WGS84 = 4326 |
34 | 34 |