3 ms·
This seems like a good idea, but it will break lots of things. In particular, err != nil will break. Don’t do it.
by earthboundkid 3y ago
This seems like a good idea, but it will break lots of things. In particular, err != nil will break. Don’t do it.
- mappu 3y agoerr != nil works fine, exactly the same way it works for plain error: interface values can be nil,
- earthboundkid 3y agoWith this err will never equal nil.
- deleted 3y ago[deleted]