Video description
Great Go will help you quickly and effectively begin
programming in the brand new programming language from Google, Go.
By the time you're through these lessons, you'll be easily apply
your existing programming skills to this new -- and often
surprising -- language. Loops, branching, arrays, vectors, and the
struct keyword are all covered in this crash course for existing
programmers looking to add Go to their skill set.
You'll do more than just transition your existing skills to
Go, though. You'll pick up Go-specific techniques and semantics,
like returning multiple values from a single function and
competently handling slices. You'll also get the straight scoop on
where Go shines, and where it's just odd and a bit clunky. Don't
wait a months for a book when you can start writing Go code
today.Great Go will help you quickly and effectively begin
programming in the brand new programming language from Google, Go.
By the time you're through these lessons, you'll be easily apply
your existing programming skills to this new -- and often
surprising -- language. Loops, branching, arrays, vectors, and the
struct keyword are all covered in this crash course for existing
programmers looking to add Go to their skill set.
You'll do more than just transition your existing skills to
Go, though. You'll pick up Go-specific techniques and semantics,
like returning multiple values from a single function and
competently handling slices. You'll also get the straight scoop on
where Go shines, and where it's just odd and a bit clunky. Don't
wait a months for a book when you can start writing Go code
today.
When you buy Great Go, you get access to an entire video
library of lessons-including lessons that aren't available yet!
Here's the scoop: we're continually adding new sections that take
you further into Go. We're also updating existing lessons and
creating new ones in response to your questions, along with special
"challenge lessons" that will test your skills. All of this is
yours with Great Go.
Table of Contents
Installation and Setup
Go is Command-Line Friendly
Set Your Environment Variables
You Are Always Cross-Compiling
Prepare to Install Mercurial
Install Mercurial
Check Out Go
Get Go Dependencies
Build Go
When Things Go Wrong
Test Your Installation
Set Up Your Development Environment
Write a Simple Program
Create a New Go Source File
Declare an Array
Initialize Your Array
Loop Over an Array
Print Formatted Data
Challenge: Add a Gifts Array
Solution: Add a Gifts Array
Challenge: Loop Within Your Loop
Solution: Loop Within Your Loop
Simplify Your Code
Files, Bytes, and Text
Create a New Go Source File
Bookmark the Go Package Docs
Use the io Package to Read a File
Functions Can Return Multiple Values
Go Warnings Are Actually Errors
Challenge: Read a File and Print Any Errors
Solution: Read a File and Print Any Errors
Convert Bytes to a String
Write a Simple Function
How Often Does Tim Retweet?
Vectors are Dynamic Structures