Skip to content

Commit

Permalink
NOP - remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Joubin Houshyar committed Sep 24, 2012
1 parent 68b0dd7 commit 14d5e25
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ func isNetError(e interface{}) bool {
if e != nil && reflect.TypeOf(e).Implements(reflect.TypeOf((*net.Error)(nil)).Elem()) {
return true
}
fmt.Printf("a: %s\n", reflect.TypeOf((*error)(nil)).Elem())
fmt.Printf("b: %s\n", reflect.TypeOf((**net.Error)(nil)).Elem())
var xtype = reflect.TypeOf((*net.Error)(nil)).Elem()
fmt.Printf("implements: %t\n", reflect.TypeOf(e).Implements(xtype))
return false
}

Expand Down

0 comments on commit 14d5e25

Please sign in to comment.