Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (7 sloc) 155 Bytes
#!/bin/bash
set -eo pipefail
paths=$(ls tools/*.go examples/*/*.go)
for path in $paths; do
gofmt -w=true $path
sed -i '' -e 's/ / /g' $path
done