Mercurial > gemma
comparison pkg/mesh/tin.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 | f4abfd0ee8ad |
children | 5f47eeea988d |
comparison
equal
deleted
inserted
replaced
4846:c69e35ec6adf | 4847:4847ac70103a |
---|---|
25 "gemma.intevation.de/gemma/pkg/models" | 25 "gemma.intevation.de/gemma/pkg/models" |
26 "gemma.intevation.de/gemma/pkg/wkb" | 26 "gemma.intevation.de/gemma/pkg/wkb" |
27 ) | 27 ) |
28 | 28 |
29 var ( | 29 var ( |
30 errNoByteSlice = errors.New("Not a byte slice") | 30 errNoByteSlice = errors.New("not a byte slice") |
31 errTooLessPoints = errors.New("Too less points") | 31 errTooLessPoints = errors.New("too less points") |
32 ) | 32 ) |
33 | 33 |
34 // Tin stores a mesh of triangles with common vertices. | 34 // Tin stores a mesh of triangles with common vertices. |
35 type Tin struct { | 35 type Tin struct { |
36 // EPSG holds the projection. | 36 // EPSG holds the projection. |