commit | 17cbeca8c02858f2db2448911e9dc7269d6b75c4 | [log] [tgz] |
---|---|---|
author | Jason Keene <jasonkeene@gmail.com> | Sun Jul 10 15:49:46 2016 -0600 |
committer | Jason Keene <jasonkeene@gmail.com> | Sun Jul 10 15:49:46 2016 -0600 |
tree | 442e359854b028f9f97a6e7982b0642f99ed681c | |
parent | 2152b45fa28a361beba9aab0885972323a444e28 [diff] |
Remove dead func
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 -}