Skip to Main Content
Tanmay Teaches Go: The Ideal Language for Backend Developers
book

Tanmay Teaches Go: The Ideal Language for Backend Developers

by Tanmay Bakshi, Baheer Kamal
May 2021
Intermediate to advanced content levelIntermediate to advanced
208 pages
4h 42m
English
McGraw-Hill Education TAB
Content preview from Tanmay Teaches Go: The Ideal Language for Backend Developers

CHAPTER 2

Quickstart

Let’s get started! But before we get to the fun part, which is writing code, it’s important to make sure we have an environment in which we can write Go code, compile it, and run it as well.

Once we have our environment set up, we’ll take a look at some of the basic building blocks of the Go language, such as the different kinds of control flow, and how they work together.

Once you’ve finished this chapter, you’ll be able to answer the following questions:

•   How do you install Go on a Windows, Linux, or macOS machine?

•   How can you find out how to install Go from source?

•   How does basic control flow work in Go?

Installing Go

As with most languages, installing Go on your system is as simple as running a few system ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9781264258154