github.com/willabides/benchdiff@v0.9.1/script/fmt (about)

     1  #!/bin/sh
     2  
     3  set -e
     4  
     5  cd "$(git rev-parse --show-toplevel)"
     6  
     7  script/bindown -q install gofumpt
     8  script/bindown -q install handcrafted
     9  
    10  git ls-files -o -c --exclude-standard -- *.go |
    11   bin/handcrafted |
    12   xargs bin/gofumpt -w