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 5
Methods, Interfaces, and Errors
Content Locked
Section 2
Interfaces
Abstracting interface from implementation is another useful object-oriented concept. This video covers Go’s implementation of interfaces, which is very different from how interfaces work in most other languages. - Learn what interfaces are in Go - Implement an interface in Go - Learn about type assertions and type switches