Take your first steps with Go
- Offered byMicrosoft
Take your first steps with Go at Microsoft Overview
Duration | 5 hours |
Start from | Start Now |
Total fee | Free |
Mode of learning | Online |
Schedule type | Self paced |
Difficulty level | Beginner |
Official Website | Explore Free Course |
Credential | Certificate |
Take your first steps with Go at Microsoft Course details
- Get started with Go
- Understand how to use packages, variables, and functions in Go
- Use control flows in Go
- Use data types and structs, arrays, slices, and maps in Go
- Implement error handling and logging in Go
- Use methods and interfaces in Go
- Learn how concurrency works in Go
- Write and test a program in Go
- Learn the basic syntax and thought processes required to build simple programs using Go
- In this learning path, you'll: Install the tools you need to write your first lines of Go code, Learn how to use control flows in Go, Learn about data types in Go, Learn how to handle errors, Use methods and interfaces, Learn how concurrency works in Go, Write and test a program
- Learn about the basic data types in Go and about how to declare variables, write functions, and use packages
- Understand the difference between them and when to use one type over the other
Take your first steps with Go at Microsoft Curriculum
Get started with Go
Introduction
What is Go?
Exercise - Install Go
Exercise - Explore the Go Playground
Exercise - Install Visual Studio Code and the Go extension
Exercise - Hello World
Knowledge check
Summary
Understand how to use packages, variables, and functions in Go
Introduction
Declare and use variables
Learn about basic data types
Create functions
Learn about packages
Knowledge check
Summary
Use control flows in Go
Introduction
Test conditions with if/else expressions
Control flow with switch statements
Loop through data with for expressions
Control with defer, panic, and recover functions
Exercise - Use control flows in Go
Solutions - Control flow exercises
Knowledge check
Summary
Use data types and structs, arrays, slices, and maps in Go
Introduction
Exercise - Use arrays
Exercise - Explore slices
Exercise - Use maps
Exercise - Use structs
Challenge - Data types
Solution - Data types challenge
Knowledge check
Summary
Implement error handling and logging in Go
Introduction
Learn how to handle errors in Go
Learn how to log in Go
Knowledge check
Summary
Use methods and interfaces in Go
Introduction
Use methods in Go
Use interfaces in Go
Challenge - Methods and interfaces
Solution - Methods and interfaces
Knowledge check
Summary
Learn how concurrency works in Go
Introduction
Learn about goroutines
Use channels as a communication mechanism
Learn about buffered channels
Challenge
Solution
Knowledge check
Summary
Write and test a program in Go
Introduction
Outline the online bank project
Get started with writing tests
Write the bank core package
Write the bank API
Challenge - Complete the bank project functionality
Solution
Knowledge check
Summary