We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff0ac7 commit a04b3c9Copy full SHA for a04b3c9
_content/doc/progs/interface.go
@@ -55,7 +55,7 @@ func typeAssertions() (interface{}, error) { // OMIT
55
var empty interface{}
56
empty = w
57
// STOP OMIT
58
- return empty, err
+ return empty, nil
59
}
60
61
func main() {
0 commit comments