Instead of relying on gofmt's -d flag, use diff -n directly. This allows us to implement our own patch function instead of having to use diff-mode.
Instead of relying on gofmt's -d flag, use diff -n directly. This
allows us to implement our own patch function instead of having to use
diff-mode.

This fixes two issues:

- no more skipping over changes
- no more problems with whitespace in file names

emacsmirror/go-mode,ibukanov/go-mode.el,dominikh/go-mode.el,kimiby/go-mode.el,codemac/go-mode.el,magastzheng/go-mode.el,tjyang/go-mode.el,artemave/go-mode.el,gorakhargosh/go-mode.el