Adding err snippet for Go.