Aren't argumets copied by values: http://golang.org/doc/faq#pass_by_value? And here is an example: http://play.golang.org/p/e5mzw4ZEc8