Created
January 6, 2014 15:51
-
-
Save skriticos/8284793 to your computer and use it in GitHub Desktop.
iterate all go files in current directory and run them with the go fix and gofmt tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
for f in *.go | |
do | |
echo "processing $f" | |
go fix "$f" | |
gofmt -w "$f" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment