Array util in go