pre-commit-hooks-golang/golangci-lint-mod.sh

5 lines
74 B
Bash
Executable File

#!/usr/bin/env sh
export GO111MODULE=on
$(which golangci-lint) run ./...