diff --git a/keywords.go b/keywords.go index fd8bc0a..9340695 100644 --- a/keywords.go +++ b/keywords.go @@ -36,8 +36,7 @@ func DataType(data interface{}) string { return "null" } - dataType := reflect.TypeOf(data) - kind := dataType.Kind() + kind := reflect.TypeOf(data).Kind() typeStr, ok := dataTypes[kind] if !ok { return "unknown"