Book Image

Learn Go in 3 Hours [Video]

By : Jonathan Bodner
5 (1)
Book Image

Learn Go in 3 Hours [Video]

5 (1)
By: Jonathan Bodner

Overview of this book

Go is a compiled, statically typed language in the tradition of Algol and C, with garbage collection, limited structural typing, memory safety features, and CSP-style concurrent programming features added. More and more developers are interested in learning Go. It was the language of the year on TIOBE in 2016 and is at the top of the list of languages that developers want to learn next. This course will teach you how to program in Go, building on your existing knowledge of programming languages. It starts by introducing familiar features before moving on to the more unique features that have earned Go its reputation as the language of the cloud. You will learn how to build a completely functional application server in under two dozen lines of code. Then, you'll master structuring and organizing your code, implementing the procedural control structures of every C-inspired language, and breaking your code into separate functions. Towards the end of the course, you'll learn how to create your own packages and import them. You'll also explore Go's approach to error handling, Object-Oriented Programming, and concurrency. By the end of the course, you'll be ready to start writing your own Go projects. This course uses Go 1.9, while not the latest version available, it provides relevant and informative content for legacy users of Go.
Table of Contents (6 chapters)
Chapter 6
Go Concurrency: Goroutines, Channels, and Select
Content Locked
Section 2
Channels
Part of what makes Go’s concurrency model different is that it focuses on sending data between concurrent processes rather than trying to share data across them. This video covers channels, Go’s method for sending data between Goroutines. - Learn what a channel is and how to create them - Send data between Goroutines - Learn about nil and closed channels