Fix Ginkgo entries in Godeps.json. (#29402)

This commit is contained in:
Ryan Hitchman
2016-08-02 09:59:29 -07:00
parent 8805bbba3f
commit c67d403d43
8 changed files with 156 additions and 85 deletions

View File

@@ -261,16 +261,3 @@ func isNilValue(a reflect.Value) bool {
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
}