Settings

Theme

Ask HN: Golang Codebases to Read

6 points by codenlearn · 2 comments · 1 min read


I've been writing in golang since the past year but I realize there is a lot I can improve in the way I'm writing go. Interested to know the best practices to be followed. Thanks again

2 threads
zkirill

The Go standard library is excellent. When I wrote Go I always used it for reference and best practices. No other open source project really came close in my opinion except for other Google Go projects.

InitEnabler

Read "Effective Go" on the Golang main page. Its a pretty good primer on how to document, naming conventions, and other things for your code.

Keyboard Shortcuts

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