Add module rename script
This commit is contained in:
parent
680e63a4f8
commit
e620c55272
2 changed files with 46 additions and 0 deletions
9
reformat.sh
Executable file
9
reformat.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
GO_FILES=$(find . -name "*.go" | grep -v .git)
|
||||
|
||||
gofumpt -l -w $GO_FILES
|
||||
gofmt -l -w $GO_FILES
|
||||
gci write $GO_FILES
|
||||
Loading…
Add table
Add a link
Reference in a new issue