2 ms·
I use Makefiles for my projects, and right at the top I do: GOBIN := $(shell go env GOBIN) And then use that var where needed.
by liampulles 3y ago
I use Makefiles for my projects, and right at the top I do:
GOBIN := $(shell go env GOBIN)
And then use that var where needed.