Description
In this course, you will :
- Introduces tools and skills used in a Go workflow, such as Go Playground, an online tool that moves Go development away from the desktop.
- Discusses fundamental programming tasks such as managing values, using math operators, storing values as complex types, and managing programme flow.
- This course is designed to get developers started with Go by covering the language's core elements and syntax.
- Learn how to write reusable Go code, read and write files, and make basic web requests.
Syllabus :
1. Getting Started
- Go's essential characteristics
- Explore basic Go syntax
- Experiment with the Go Playground
- Install Go on macOS
- Install Go on Windows
- Choose an IDE for Go programming
- Install and configure Visual Studio Code
- Get the exercise files from GitHub
- Create a Hello World application
2. Manage Simple Variable Values
- Explore Go's variable types
- Declare and initialize variables
- Get input from the console
- Convert string inputs to other types
- Use math operators
- Use the math package
- Work with dates and times
- Challenge: Create a simple calculator app
- Solution: Create a simple calculator app
3. Manage Complex Types and Collections
- How memory is allocated and managed
- Reference values with pointers
- Store ordered values in arrays
- Manage ordered values in slices
- Store unordered values in maps
- Group related values in structs
4. Manage Program Flow
- Program conditional logic
- Evaluate expressions with switch statements
- Create loops with for statements
5. Create Reusable Code
- Define and call functions
- Define functions as methods of custom types
- Challenge: Create a more advanced calculator app
- Solution: Create a more advanced calculator app
6. Work with Files and the Web
- Write and read local text files
- Read a text file from the web
- Parse JSON-formatted text