Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Go Recipes: Practical Projects

via LinkedIn Learning

Overview

Complete projects to learn common app-related tasks in the Go programming language.

Syllabus

Introduction
  • Recipes for practical projects with Go
  • What you should know
1. The Basics
  • Working with numbers in Go
  • Go slices
  • Working with maps in Go
  • Go error handling
  • Using defer to manage resources
  • Go panic recovery
  • Challenge: Writing a filter
  • Solution: Writing a filter
2. Working with Time
  • Time arithmetic
  • Measuring time
  • Formatting time
  • Parsing time
  • Time zone conversion
  • Challenge: Time
  • Solution: Time
3. Working with Text
  • Go string formatting
  • Working with Unicode in Go
  • Case insensitive comparisons in Go
  • Go regular expressions
  • Reading text files with Go
  • Challenge: Text
  • Solution: Text
4. Structs, Methods, and Interfaces
  • Go structs
  • Go methods
  • Go interfaces
  • The empty interface
  • Working with iota in Go
  • Structs, methods, and interfaces
  • Challenge: Structs, methods, and interfaces
  • Solution: Structs, methods, and interfaces
5. Working with JSON
  • Unmarshalling JSON with Go
  • Parsing complex JSON with Go
  • Marshalling JSON with Go
  • Dealing with zero and missing values in Go
  • Using mapstructure to handle arbitrary JSON
  • Challenge: JSON
  • Solution: JSON
6. HTTP
  • HTTP calls in Go
  • Authentication with Go
  • Writing an HTTP server in Go
  • REST with gorilla/mux
  • Challenge: HTTP
  • Solution: HTTP
7. Concurrency
  • Converting sequential code to concurrent in Go
  • Timeouts in Go
  • sync.WaitGroup
  • sync.Once
  • Using a pool of goroutines
  • sync/atomic
  • Challenge: Concurrency
  • Solution: Concurrency
Conclusion
  • Next steps

Taught by

Miki Tebeka

Reviews

4.6 rating at LinkedIn Learning based on 100 ratings

Start your review of Go Recipes: Practical Projects

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.