       (setq group "^[{("))
     (while (and (not (bobp))
                 (>= (go-paren-level) start-nesting))
-      (if (= 0 (skip-chars-backward group))
+      (if (zerop (skip-chars-backward group))
           (if (go-in-string-or-comment-p)
               (go-goto-beginning-of-string-or-comment)
             (backward-char))))))

                        (goto-char (point-max))
                        (insert ?\n)))

                  (if (= 0 (shell-command-on-region (point-min) (point-max)
                                                    (concat "gofmt" flag)
                                                    patchbuf nil errbuf))
                      ;; gofmt succeeded: replace buffer or apply patch hunks.

    (setq pos (point))
    (beginning-of-line)
    (if (or (looking-at "^[[:word:]]+:") (looking-at "^[[:space:]]*\\(case .+\\|default\\):"))
        (end-of-line 0)
      (goto-char pos))
    (if (/= start-pos (point))
        (go--backward-irrelevant stop-at-string))
