add go fmt format.sh script

This commit is contained in:
Guilherme Rugai Freire 2024-07-10 19:01:31 -03:00
parent 8ef8cf75ef
commit fc899da74c
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1
4 changed files with 23 additions and 20 deletions

3
format.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
for file in $(find . -path .git -prune -o -name '*.go' -print); do go fmt $file; done