Fix snippet of Go