Hacker News new | ask | show | jobs
by candiddevmike 950 days ago
It's really easy to check a field of a pointer struct without first checking the struct is non nil. Would be interesting if go vet or test checked this somehow.