update example for go1.2