O'Reilly logo

Level Up Your Web Apps With Go by Mal Curtis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1Welcome New Gopher

This chapter is designed to give you a grounding in the fundamentals of the Go language. We’ll start out by covering installation on various operating systems and write our first piece of Go code, before moving on to look at Go’s tools, syntax, and types. Let's get started!

Installation

The first step in writing Go code is to get your hands on the Go tool set, available at https://golang.org/doc/install. The Go authors provide installation packages for Windows, Mac OS, and Linux. You can also install Go from the source code, and if you’re on a system other than those with pre-built installers, you’ll need to do it this way.

Once installed, you should be able to type go version in your command line and see your Go version ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required