Settings

Theme

Ask HN: Best example codebases written in Go

6 points by igolden 6 years ago · 5 comments · 1 min read


Saw this question asked in 2017, asking again for 2019. What codebases do you think are the best examples of go?

switch007 6 years ago

I'm not a Go expert so hard to judge, but:

github.com/rclone/rclone - Somewhat complex with abstractions, plugins, filesystems, networking, multi-platform support etc

https://github.com/hashicorp/ has a lot of Go

Someone 6 years ago

Go is self-hosting (https://en.wikipedia.org/wiki/Self-hosting_(compilers)) and not that old, so the source of the go compiler and its tools (https://go.googlesource.com/go) should be good examples (possibly not of all language features)

switch007 6 years ago

What do you mean by best?

  • igoldenOP 6 years ago

    Yeah, poor choice of words. Really just looking for codebases that are idiomatic, well written, and fun to read. Inspiration

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection