From 9b34096108b7c5b22f23f2849536c23439e3348f Mon Sep 17 00:00:00 2001 From: Sam Woodard Date: Sun, 12 Jul 2015 08:00:53 -0700 Subject: [PATCH] whitespace --- response.go | 1 - 1 file changed, 1 deletion(-) diff --git a/response.go b/response.go index 9507538..ecdb8c9 100644 --- a/response.go +++ b/response.go @@ -122,7 +122,6 @@ func visitModelNode(model interface{}, sideload bool) (*Node, []*Node, error) { node.Attributes[args[1]] = fieldValue.Interface() } } else if annotation == "relation" { - isSlice := fieldValue.Type().Kind() == reflect.Slice if (isSlice && fieldValue.Len() < 1) || (!isSlice && fieldValue.IsNil()) {