See the little gopher? Isn't it cute? Yes it is! He is the mascot of the Go programming language ---Go, what? Why Go, the programming language of course!
This website is an online book that aims to introduce people to this awesome language. And if you, actually, stumbled upon it while looking for real gophers, let me still invite you to read it and learn something cool! C'mon, go-pher it!
In this part, we will learn the very basic things about Go. The basic syntax
for programs, how to declare variables, pointers and how to use basic
control structures.
.. toctree:: :maxdepth: 1 preface first hello basic pointers control
Now, it's time to play like children with Legos. Technical Legos. "Tegos"? ;)
We use primitive data types and basic control structures, that we saw in
the previous part, to build composite types and functions.
.. toctree:: :maxdepth: 1 functions composite slices maps
We will learn smarter and nicer things about functions, and will have fun
writing code to represent and solve real world problems (well... real as in
objects. --- You know what I mean)
.. toctree:: :maxdepth: 1 more-functions even-more-functions methods more-methods interfaces more-interfaces
Why think of programs as a sequential ballade executed by a single musician?
We can do better by making every musician do what he/she has to do, and make
them communicate with one another.
- Introduction to concurrency with Go
- Sharing and Caring (Communicating with channels)
- Channels on steroids
- ...
.. toctree:: :maxdepth: 1 colophon
This is the goal of this humble work. I hope that you'll enjoy reading it, and I'd love to hear back from you! You can post issues, typos and suggestions on the github repository
.. toctree:: :hidden: contents