MCPcopy Create free account
hub / github.com/MedUnes/go-kata

github.com/MedUnes/go-kata @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
29 symbols 54 edges 6 files 3 documented · 10% 3 cross-repo links updated 51d ago★ 2,356

Browse by type

Functions 16 Types & classes 13
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Kata [ID]: [Title of the Challenge]

Target Idioms: [e.g. Concurrency Patterns, Interface Pollution, Error Wrapping] Difficulty: [🟢 Beginner / 🟡 Intermediate / 🔴 Advanced]

🧠 The "Why"

Briefly explain the mismatch seasoned devs would face here. Why would the "Java way" or "Python way" fail in Go for this specific problem?

🎯 The Scenario

[Describe a realistic production problem. Example: "You are building a CLI that parses 1GB logs..."]

🛠 The Challenge

Implement a solution that satisfies the following requirements.

1. Functional Requirements

  • [ ] [Requirement A]
  • [ ] [Requirement B]

2. The "Idiomatic" Constraints (Pass/Fail Criteria)

To pass this kata, you must use the following patterns: * [ ] Constraint 1: [e.g. Do not allocate new memory inside the loop.] * [ ] Constraint 2: [e.g. Use functional options for configuration.] * [ ] Constraint 3: [e.g. Return wrapped errors.]

🧪 Self-Correction (Test Yourself)

  • If you did X: [Explain why this is "un-idiomatic" or dangerous in Go]
  • Instead, ensure Y: [Explain the idiomatic fix]

📚 Resources

  • [Link to Go Blog or Spec]

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 10
Struct 10
Method 6
Interface 2
FuncType 1

Languages

Go100%

Modules by API surface

01-context-cancellation-concurrency/01-concurrent-aggregator/aggregator_test.go8 symbols
01-context-cancellation-concurrency/01-concurrent-aggregator/aggregator.go7 symbols
04-errors-semantics/20-nil-interface-gotcha/myerror.go5 symbols
04-errors-semantics/20-nil-interface-gotcha/myerror_test.go3 symbols
01-context-cancellation-concurrency/01-concurrent-aggregator/profile/profile.go3 symbols
01-context-cancellation-concurrency/01-concurrent-aggregator/order/order.go3 symbols

Dependencies from manifests, versioned

golang.org/x/syncv0.19.0 · 1×
gopkg.in/yaml.v3v3.0.1 · 1×

For agents

$ claude mcp add go-kata \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page