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

5 lines
68 B
Bash

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