Remove tools.go

This commit is contained in:
Deluan 2023-11-27 13:53:08 -05:00 committed by Deluan Quintão
parent f7fe8ba938
commit 1b4483d32b
4 changed files with 3 additions and 11 deletions

View file

@ -10,7 +10,7 @@
#
# This script does not handle file names that contain spaces.
gofmtcmd="go run golang.org/x/tools/cmd/goimports"
gofmtcmd="go run golang.org/x/tools/cmd/goimports@latest"
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$' | grep -v '_gen.go$')
[ -z "$gofiles" ] && exit 0