A set of exercises to help you learn go.
Interactive learning – I think we learn best when we actually apply things at the same time
- Start with a Tour of Go: https://tour.golang.org
- This is a great online tutorial where you can actually run Go code in the web browser and learn the basics without downloading the language and using Go.
- Download and install the Go programming language on your system. Not a tutorial but necessary
- Download: https://golang.org/dl/
- Install Instructions: https://golang.org/doc/install
- Run a simple Hello World in your environment from GoByExample.com and peek around the material on the website for any topics you want to refresh: https://gobyexample.com/hello-world
- Gobyexample is a good tutorial, but it covers a lot of the same material as a Tour of Go, so just look at the list of topics and check out what you want.
Reading – I would definitely read How to Write Go Code, it will help you orient yourself. Effective Go is nice but we will also teach you this through code review :) You don't need the book that's what these exercises are for
- How to Write Go Code - https://golang.org/doc/code.html
- This is a good read for anyone, it will help explain development flow
- The Go style guide to write idiomatic Go - Effective Go: https://golang.org/doc/effective_go.html
- If you really want to learn from a book I will recommend Programming in Go - https://www.amazon.com/Programming-Go-Creating-Applications-Developers/dp/0321774639
- We have one copy floating around that you may be able to borrow
You'll find the exercises in this repo with an explanation inside each one. It's best to go in order which is:
- quiz
- urlshort
- cyoa
- link
- sitemap
- hr1
- task
- phone
- deck
- blackjack
- blackjackai
- rename
- quiethn
- recover
- recoverchroma
- secret
- transform
- image
Happy learning!