Sage-Code Laboratory

What is Go?

Go also known as Go-Lang is a third generation computer language. It was designed by a team at Google lead by Rob Pike. The intention was to create a system language to replace C++ but this was changed later after Go has implemented a garbage collector. Now Go is considered a high-level back-end language for cloud services and parallel computing.

How to learn Go:

Next tutorial will describe Go syntax in details. We organize content in logical order from basic concepts to advanced. For each page you should spend about 2 hours no more. Don't forget to take a break after reading a page. You can use next index to visit or re-visit a particular page. At the bottom of each page you will find the next page. Enjoy reading. Learn and prosper!

Tutorial Index



Go Snippets

Code snippets are available on GitHub in ./go/demo folder. You can view a particular file, download it on your computer, compile and run it. Also you can find numerous examples on replit.com.

Go - Quiz

We have created a prep quiz. You can scan the QR code using a mobile or tablet, or click the link. If you are already on mobile device, tap the code below to start the quiz. It requires Google account.
Go Quiz

Go - Quiz


Privacy Terms: We do not collect your e-mail address but we record your name with the test results on Google drive. If you take more than 80% we will recognize your skill and will endorse you on Linked-in. If you don't agree, you can use a fake name or nick name but then we can't endorse your new skills.

External Resources

Our tutorial is fundamental so there is more to learn from external documentation. We have selected only resources that have no ads and are safe to use. We use these resources ourselves to make this tutorial. If you learn something reading these resources we will appreciate you contribute back to our own tutorial with improvements.


Read next: Syntax