Go Recipes: Practical Projects
1h 23mBeginner2023-10-17
Authors

Miki Tebeka
CEO at 353Solutions
Course details
If you’re figuring out what to make for dinner tonight, this course will not help you. However, if you’re learning the Go programming language, this course is a great resource for practical learning. Instructor Miki Tebeka walks you through common Go projects with "recipes," or step-by-step instructions. Miki shows you some basics, such as Go slices, maps, error handling, and panic recovery. He explains how to measure, format, parse, and convert time in Go. Miki goes over ways you can work with text in Go, then demonstrates using structs, methods, and interfaces to improve your code. He discusses working with JSON and HTTP, then concludes by describing the benefits of bringing concurrent instructions to your apps.
Skills covered
GoGoogleProgramming LanguagesSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Recipes for practical projects with Go
- 02 - What you should know
1. The Basics
- 03 - Working with numbers in Go
- 04 - Go slices
- 05 - Working with maps in Go
- 06 - Go error handling
- 07 - Using defer to manage resources
- 08 - Go panic recovery
- 09 - Challenge - Writing a filter
- 10 - Solution - Writing a filter
2. Working with Time
- 11 - Time arithmetic
- 12 - Measuring time
- 13 - Formatting time
- 14 - Parsing time
- 15 - Time zone conversion
- 16 - Challenge - Time
- 17 - Solution - Time
3. Working with Text
- 18 - Go string formatting
- 19 - Working with Unicode in Go
- 20 - Case insensitive comparisons in Go
- 21 - Go regular expressions
- 22 - Reading text files with Go
- 23 - Challenge - Text
- 24 - Solution - Text
4. Structs, Methods, and Interfaces
- 25 - Go structs
- 26 - Go methods
- 27 - Go interfaces
- 28 - The empty interface
- 29 - Working with iota in Go
- 30 - Structs, methods, and interfaces
- 31 - Challenge - Structs, methods, and interfaces
- 32 - Solution - Structs, methods, and interfaces
5. Working with JSON
- 33 - Unmarshalling JSON with Go
- 34 - Parsing complex JSON with Go
- 35 - Marshalling JSON with Go
- 36 - Dealing with zero and missing values in Go
- 37 - Using mapstructure to handle arbitrary JSON
- 38 - Challenge - JSON
- 39 - Solution - JSON
6. HTTP
- 40 - HTTP calls in Go
- 41 - Authentication with Go
- 42 - Writing an HTTP server in Go
- 43 - REST with gorilla mux
- 44 - Challenge - HTTP
- 45 - Solution - HTTP
7. Concurrency
- 46 - Converting sequential code to concurrent in Go
- 47 - Timeouts in Go
- 48 - sync.WaitGroup
- 49 - sync.Once
- 50 - Using a pool of goroutines
- 51 - sync atomic
- 52 - Challenge - Concurrency
- 53 - Solution - Concurrency
Conclusion
- 54 - Next steps
Related courses
Related learn paths
- Getting Started with Python
- Social Media Marketing Professional Certificate by Hootsuite
- Master Digital Marketing
- Advance as a Digital Marketing Specialist
- The Top Skills Marketing Professionals Have Right Now
- The Top Skills Business Professionals Have Right Now
- Explore Documentary Filmmaking
- Advance Your Skills as an IT Help Desk Specialist