go 1.0 compatibility

go 1.0 requires this return while go 1.1 doesn't