Merge remote-tracking branch 'origin/pr/163'
diff --git a/format/format.go b/format/format.go index ec9c91a..226b892 100644 --- a/format/format.go +++ b/format/format.go
@@ -261,16 +261,3 @@ return false } - -func isNil(a interface{}) bool { - if a == nil { - return true - } - - switch reflect.TypeOf(a).Kind() { - case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice: - return reflect.ValueOf(a).IsNil() - } - - return false -}