Go code puzzle