Closed coxley closed 9 months ago
when we use go install github.com/cosmtrek/air@latest, we can't put version by air -v
info, ok := debug.ReadBuildInfo()
I suppose that I can use logic like this : https://github.com/mvdan/gofumpt/blob/master/internal/version/version.go#L37
fixed
This works just fine, and is common for Go commands:
Recommending people
curl | sh
always feels sketchy. After taking a quick look, I didn't see anything in it that was necessary. I can only assume thatgo install
works the same across each platform it supports. Maybe you've found that isn't the case, and can ignore me. :)