golint doesn't set return value to something if there are errors