slice of code in golang