i really fucking hate dependency management downloading packages from a centralized repository really grinds my fucking gears
this is like the one go flaw that makes me not use the language for absolutely everything
Show thread
It's not centralized actually but they use caching servers iirc so it mostly is. Maybe there's a way to turn it off
Show thread
@nyanide

> Maybe there's a way to turn it off

GOPROXY='direct'
@nyanide These are helpful: `go help environment`, `go env`, `echo FUCK YOU. Strongly worded letter to follow | sendmail rsc@golang.org`

@p @nyanide
And a guy who I think is on Go cryptography team tried to convince me here on Fedi that reading about this stuff — "direct" being a special value, on some web page IS the proper way to document it 🤦

@m0xee @nyanide I forget what I was trying to look up but there was one instance of `go doc $something` that had some sparse information and a link to the web page in case you wanted more information. So I go to the web page and the information was still sparse...and ended with a suggestion to use `go doc` to get more information.

@p @nyanide
Yeah, I remember this too and the beauty of it is that $something is also only vaguely related to these matters 😂

@m0xee @nyanide It's much nicer if you just get a man page and that man page is it. Sometimes `go doc` manages to be that nice.

@p @nyanide
Standard library is very well documented… Well, used to be, not sure it's still the case and they don't make you go online to figure things out.

@m0xee @nyanide Oh, yeah, I mostly look at that. The "Check webpage"/"Check go doc" loop was something in the standard library. (I wish I could remember what it was.)

On the other hand, it's generally nice (and also fast) enough that I feel like I'm complaining over something small. man pages have spoiled me.
Follow

@p @nyanide
AFAIR the online documentation also gives you link to the source so you can figure things out for yourself if something doesn't make sense, I'll give them that. It's also good for figuring out the differences between Go versions.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml