update go snippet to be less intrusive