Understand how to use packages, variables, and functions in Go
Learn about the basic data types in Go and about how to declare variables, write functions, and use packages.
Learning objectives
In this module, you will:
- Declare variables and constants
- Learn about the basic data types available in Go
- Write functions
- Create and use packages
Prerequisites
- A Go environment that's ready to create applications.
- Visual Studio Code with the Go extension installed.
- The ability to create and modify
.go
files. - The ability to run Go applications by using the terminal.