Add this code to your Makefile:
include go.mk
go.mk:
@tmpdir=$$(mktemp -d) && \
git clone --depth 1 --single-branch https://github.com/partyzanex/go-makefile.git $$tmpdir && \
cp $$tmpdir/go.mk $(CURDIR)/go.mkRun one of the commands:
make .gitignoremake .golangci.yml