2023-12-26 18:18:46 +02:00
|
|
|
#!/usr/bin/env bash
|
2021-07-25 02:15:40 +02:00
|
|
|
FILES=$(git diff --cached --name-only --diff-filter=ACMR)
|
2021-07-25 02:04:28 +02:00
|
|
|
|
2022-01-27 03:12:02 +02:00
|
|
|
gofumpt -l -w .
|
2021-07-25 02:04:28 +02:00
|
|
|
golangci-lint run --new --fix
|
|
|
|
|
|
|
|
git add $FILES
|