Add module rename script

This commit is contained in:
世界 2026-05-17 19:33:01 +08:00
parent 680e63a4f8
commit e620c55272
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 46 additions and 0 deletions

9
reformat.sh Executable file
View 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