Skip to content

Instantly share code, notes, and snippets.

@aalemayhu
Created March 17, 2017 09:36
Show Gist options
  • Save aalemayhu/cbe4363cca9fcb2ba1ee498a979d854c to your computer and use it in GitHub Desktop.
Save aalemayhu/cbe4363cca9fcb2ba1ee498a979d854c to your computer and use it in GitHub Desktop.
Run gofmt on changed files
for x in `git status -s|awk '{ print $2}'`; do gofmt -w $x; done
@jzbyers
Copy link

jzbyers commented Nov 2, 2022

Love this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment