Apparently I need a return statement even after an if/else statement in old golang