fix: linter

This commit is contained in:
2023-04-21 12:05:30 +08:00
parent 53ab00c196
commit 96f4181e5f
2 changed files with 300 additions and 341 deletions
+4 -1
View File
@@ -145,6 +145,9 @@ alias gitb="git branch --show-current | tr -d '\n' | pbcopy"
alias gci="golangci-lint run -c=~/.dotfile/.golangci.yml ./..."
alias gmt="go mod tidy"
alias gtc="go test -gcflags=all=-l -cover ./..."
alias gtr="(){go test -gcflags=all=-l -v -run $1. ;}"
alias swg="swag init -o docs -g "
alias sws="swagger serve -F=swagger"
function gtr(){
go test -gcflags=all=-l -v -run="$1"
}