Mercurial > gemma
changeset 4185:fc928ce7b57c
Made 'golint' happy with the wkb package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Aug 2019 12:23:37 +0200 |
parents | ea36f163db44 |
children | 4d2e81423ab4 |
files | pkg/wkb/wkb.go |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/wkb/wkb.go Tue Aug 06 11:45:12 2019 +0200 +++ b/pkg/wkb/wkb.go Tue Aug 06 12:23:37 2019 +0200 @@ -13,10 +13,14 @@ package wkb +// Binary encoding in WKB data. const ( - XDR byte = 0 - NDR byte = 1 + XDR byte = 0 // big endian. + NDR byte = 1 // little endian. +) +// Various types of geometry. +const ( Point uint32 = 1 LineString uint32 = 2 Polygon uint32 = 3