2021-07-24 21:04:28 -03:00
|
|
|
#!/bin/bash
|
2021-07-24 21:15:40 -03:00
|
|
|
FILES=$(git diff --cached --name-only --diff-filter=ACMR)
|
2021-07-24 21:04:28 -03:00
|
|
|
|
2022-01-26 22:12:02 -03:00
|
|
|
gofumpt -l -w .
|
2021-07-24 21:04:28 -03:00
|
|
|
golangci-lint run --new --fix
|
|
|
|
|
|
|
|
git add $FILES
|