secret
Last active

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8
#!/bin/sh
 
for file in $(git diff --cached --name-status | awk '{print $2}')
do
gofmt -w $file
 
git add $file
done

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.