Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hiendv/cc156eba1bba82a168201a0c0349c7b0 to your computer and use it in GitHub Desktop.
Save hiendv/cc156eba1bba82a168201a0c0349c7b0 to your computer and use it in GitHub Desktop.
Golang newbie resources from gophers.slack.com
Here are some resources you should check out if you are learning / new to Go:
First you should take the language tour: https://tour.golang.org/
Then, you should visit:
- https://golang.org/doc/code.html to learn how to organize your Go workspace
- https://golang.org/doc/effective_go.html be more effective at writing Go
- https://golang.org/ref/spec learn more about the language itself
- https://golang.org/doc/#articles a lot more reading material
- https://github.com/golang/go/wiki/CodeReviewComments
There are some awesome websites as well:
- https://blog.gopheracademy.com great resources for Gophers in general
- http://gotime.fm awesome weekly podcast of Go awesomeness
- https://gobyexample.com examples of how to do things in Go
- http://go-database-sql.org how to use SQL databases in Go
- https://dmitri.shuralyov.com/idiomatic-go tips on how to write more idiomatic Go code
- https://divan.github.io/posts/avoid_gotchas will help you avoid gotchas in Go
- https://golangbot.com tutorials to help you get started in Go
- http://tmrts.com/go-patterns/
There's also an exhaustive list of videos http://gophervids.appspot.com related to Go from various authors.
If you prefer books, you can try these:
- http://www.golangbootcamp.com/book
- http://gopl.io/
- https://www.manning.com/books/go-in-action (if you e-mail @wkennedy at [email protected] you can get a free copy for being part of this Slack)
If you want to learn how to organize your Go project, make sure to read: https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1#.ds38va3pp.
Once you are accustomed to the language and syntax, you can read this series of articles for a walkthrough the various standard library packages: https://medium.com/go-walkthrough.
Finally, https://github.com/golang/go/wiki#learning-more-about-go will give a list of even more resources to learn Go
These articles will explain how to organize your Go packages:
https://rakyll.org/style-packages/
https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1#.ds38va3pp
https://peter.bourgon.org/go-best-practices-2016/#repository-structure
This article will help you understand the design philosophy for packages: https://www.goinggo.net/2017/02/design-philosophy-on-packaging.html
from https://invite.slack.golangbridge.org/ (highly recommended)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment