News for hackers. Stuff that matters.
Re:Traitor: Linux privilege escalation made easy by axaxs on Monday February 22, 2021 @04:00PM (#26230542)
Not just you. I've been using Go for many years, and while I enjoy the language I always found the environment of it awkward and unfriendly. Envvars on top of envvars. Work only in GOPATH, no wait, stop working in GOPATH. Vendor things...no wait don't do that either.

I think a lot of it is just growing pains, but it still feels clunky. My system has a .cache folder that everything already uses, why does Go need a special cache?

Re:Traitor: Linux privilege escalation made easy by tinco on Monday February 22, 2021 @04:47PM (#26231107)
They didn't consider it a cache, they consider your gopath to be the place where you put all source code, your own, and that of all your dependencies.
Re:Traitor: Linux privilege escalation made easy by colejohnson66 on Monday February 22, 2021 @05:51PM (#26231755)
That seems... a bit much IMO. I personally prefer containerizing things. Such as Node.js’ way with node_modules. Then I can put my project wherever I want. Downloaded dependencies can also go in ~/.cache because I don’t plan on editing them.