Learning Go (2021)
2h 22mIntermediate2021-03-23
Authors

David Gassner
Author of 60+ video-based training courses for software developers
Course details
What is Go? Go is a next-generation, open-source programming language created by Google for building systems, web, and other applications. This course is designed to help developers get started with Go, covering its core language elements and syntax. David Gassner introduces tools and skills used in a Go workflow—including Go Playground, an online tool that takes Go development off the desktop. He also covers basic programming tasks: managing values, using math operators, storing values as complex types, and managing program flow. Plus, learn how to create reusable Go code, read and write files, and make simple web requests.
Topics include:
Installing Go development tools and Visual Studio Code
Exploring variables, constants, and types
Storing ordered and unordered values
Grouping related values in structs
Programming conditional logic and loops
Defining and calling functions
Handling errors
Working with files
Topics include:
Installing Go development tools and Visual Studio Code
Exploring variables, constants, and types
Storing ordered and unordered values
Grouping related values in structs
Programming conditional logic and loops
Defining and calling functions
Handling errors
Working with files
Skills covered
GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Develop basic programs with Go
- 02 - What you need to know
1. Getting Started
- 03 - Go's essential characteristics
- 04 - Explore basic Go syntax
- 05 - Experiment with the Go Playground
- 06 - Install Go on macOS
- 07 - Install Go on Windows
- 08 - Choose an IDE for Go programming
- 09 - Install and configure Visual Studio Code
- 10 - Get the exercise files from GitHub
- 11 - Create a Hello World application
2. Manage Simple Variable Values
- 12 - Explore Go's variable types
- 13 - Declare and initialize variables
- 14 - Get input from the console
- 15 - Convert string inputs to other types
- 16 - Use math operators
- 17 - Use the math package
- 18 - Work with dates and times
- 19 - Challenge - Create a simple calculator app
- 20 - Solution - Create a simple calculator app
3. Manage Complex Types and Collections
- 21 - How memory is allocated and managed
- 22 - Reference values with pointers
- 23 - Store ordered values in arrays
- 24 - Manage ordered values in slices
- 25 - Store unordered values in maps
- 26 - Group related values in structs
4. Manage Program Flow
- 27 - Program conditional logic
- 28 - Evaluate expressions with switch statements
- 29 - Create loops with for statements
5. Create Reusable Code
- 30 - Define and call functions
- 31 - Define functions as methods of custom types
- 32 - Challenge - Create a more advanced calculator app
- 33 - Solution - Create a more advanced calculator app
6. Work with Files and the Web
- 34 - Write and read local text files
- 35 - Read a text file from the web
- 36 - Parse JSON-formatted text
Conclusion
- 37 - Next steps