diff pkg/models/common.go @ 645:794592cad75a

Cross sections: Fixed SQL, endian, WKB and JSON encoding errors.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 13 Sep 2018 12:59:18 +0200
parents 756f3fc62da6
children a244b18cb916
line wrap: on
line diff
--- a/pkg/models/common.go	Thu Sep 13 12:14:25 2018 +0200
+++ b/pkg/models/common.go	Thu Sep 13 12:59:18 2018 +0200
@@ -2,4 +2,7 @@
 
 import "errors"
 
-var errNoString = errors.New("Not a string")
+var (
+	errNoString    = errors.New("Not a string")
+	errNoByteSlice = errors.New("Not a byte slice")
+)