wireguard-go-awg2-lx/reformat.sh
2026-05-17 20:02:24 +08:00

9 lines
155 B
Bash
Executable file

#!/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