Feedback Needed: Missing Go Concepts in Exercises

Hi everyone! :wave:

I’ve been working through the Go exercises and noticed a few critical topics missing that are essential for mastering Go. Before opening GitHub issues, I wanted to gather feedback to see if others agree or if there’s a reason these aren’t included yet.

Missing Concepts:

  1. Testing & Benchmarking
  • No exercises for table-driven tests, subtests, or benchmarks.
  1. Go Modules
  • Dependency management (go mod) isn’t covered.
  1. Concurrency but I saw someone raised an issue

  2. Context Package

  • Missing exercises for cancellation/timeouts in APIs.

Why This Matters:

  • Testing and modules are foundational for real-world Go projects.
  • defer and context are idiomatic to Go’s design philosophy.

Questions for the Community:

  • Are these gaps intentional (e.g., planned for later)?
  • Would others benefit from exercises for these topics?
  • Any other missing concepts worth prioritizing?

I’ll open GitHub issues for these if there’s consensus. Thanks for your input! :pray:
Issue

How would you write a test driven exercise for these concepts?