aboutsummaryrefslogtreecommitdiff
path: root/server/store/string_slice.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2018-08-08 11:24:22 +0100
committerNiall Sheridan <nsheridan@gmail.com>2018-08-08 12:49:47 +0100
commit12417f0dddf4be86aa5b9a4cb25bf48a4e301086 (patch)
tree280653d0ecefbbb22d9574221b64b079953a8c4b /server/store/string_slice.go
parent60d005f8d174d21162cab2b029f74cfe2925acab (diff)
Misc fixes
- Add `fast_finish` to travis config - Specify that Go 1.9 is supported - Additional error checking which was previously missed - Make the migrations test better -
Diffstat (limited to 'server/store/string_slice.go')
-rw-r--r--server/store/string_slice.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/store/string_slice.go b/server/store/string_slice.go
index ac86360..a443cdd 100644
--- a/server/store/string_slice.go
+++ b/server/store/string_slice.go
@@ -28,7 +28,8 @@ func (s *StringSlice) Scan(value interface{}) error {
return nil
}
var err error
- if v, err := driver.String.ConvertValue(value); err == nil {
+ v, err := driver.String.ConvertValue(value)
+ if err == nil {
if v, ok := v.([]byte); ok {
err = json.Unmarshal(v, s)
}