golang create slice from range