update go snippet