លំនាំ Go ទាំងអស់

អត្ថបទលំនាំ Go ដែលបានបោះពុម្ព ត្រូវបានរៀបចំតាមប្រភេទ។ ការផ្តោតសំខាន់គឺ idiomatic Go មិនមែនជាការបក class diagrams មួយទល់មួយទេ។

ប្រភេទ
ភាពស្មុគស្មាញ

30 លំនាំ

ការបង្កើត

5 បានបោះពុម្ព

លំនាំសម្រាប់ការបង្កើត objects ក្នុង Go ដែលភាគច្រើនបង្ហាញតាម constructor functions, interfaces និង functional options។

រចនាសម្ព័ន្ធ

7 បានបោះពុម្ព

លំនាំសម្រាប់ផ្សំប្រភេទទិន្នន័យ និងព្រំដែនក្នុង Go ដោយប្រើ interfaces, embedding, adapters និង packages ដែលមានតួនាទីច្បាស់។

ឥរិយាបថ

10 បានបោះពុម្ព

លំនាំសម្រាប់រៀបចំ control flow, workflows និងការសហការងារ ដោយផ្អែកលើ errors ច្បាស់លាស់, interfaces និងឯកតាអាកប្បកិរិយាតូចៗ។

ឥរិយាបថ
Interactive

លំនាំ Chain of Responsibility ក្នុង Go

បង្កើត validation និង request-processing pipelines ដោយប្រើ handlers តូចៗដែលត្រូវបានផ្សំតាម interfaces។

just now
ឥរិយាបថ
Interactive

លំនាំ Command ក្នុង Go

ខ្ចប់ operations សម្រាប់ queuing, audit history និង undo/redo ខណៈដែលរក្សា Go error handling ឱ្យច្បាស់លាស់។

just now
ឥរិយាបថ
Interactive

Iterator in Go

Traverse a collection without exposing its internal representation, keeping traversal state separate from the aggregate.

just now
ឥរិយាបថ
Interactive

Mediator in Go

Centralize communication between collaborating objects so they depend on a coordinator instead of referencing each other directly.

just now
ឥរិយាបថ
Interactive

Memento in Go

Capture and restore object state without exposing internal details so undo and rollback remain explicit and controlled.

just now
ឥរិយាបថ
Interactive

Observer in Go

Notify dependent subscribers when state changes so event-driven reactions stay decoupled from the publisher.

just now
ឥរិយាបថ
Interactive

State in Go

Change an object’s behavior when its internal state changes by delegating transitions and rules to state-specific types.

just now
ឥរិយាបថ
Interactive

Strategy in Go

Encapsulate interchangeable algorithms behind one interface so callers can swap behavior without branching on concrete rules.

just now
ឥរិយាបថ
Interactive

Template Method in Go

Define the skeleton of an algorithm once while letting concrete steps vary through narrow hook methods.

just now
ឥរិយាបថ
Interactive

Visitor in Go

Add operations across a stable object structure without changing each node type whenever a new operation is introduced.

just now

Agentic

8 បានបោះពុម្ព

លំនាំសម្រាប់បង្កើតប្រព័ន្ធ AI agent ក្នុង Go: reasoning loops, tool dispatch, memory, retrieval និងការសម្របសម្រួលរវាង agents ច្រើន។

Agentic
Interactive

Agent Loop (ReAct) in Go

Drive an agent by alternating reasoning and acting steps inside a structured loop that terminates when the model signals a final answer.

just now
Agentic
Interactive

Tool Use in Go

Register typed tools by name so an agent can dispatch LLM-selected function calls to the right handler without embedding dispatch logic in the agent itself.

just now
Agentic
Interactive

Orchestrator-Subagent in Go

Decompose a complex task by having a root agent spawn and coordinate specialized subagents, each responsible for one concern, then aggregate their results.

just now
Agentic
Interactive

Memory in Go

Give an agent a pluggable memory store — short-term context buffer, episodic session history, and optional long-term semantic store — through one interface so the storage backend can be swapped.

just now
Agentic
Interactive

Retrieval-Augmented Generation in Go

Ground LLM responses in authoritative documents by retrieving relevant chunks before generation so the model can cite real data instead of hallucinating.

just now
Agentic
Interactive

Human-in-the-Loop in Go

Pause agent execution at defined checkpoints to request human approval or input, then resume with the human's decision injected back into the agent's context.

just now
Agentic
Interactive

Prompt Template in Go

Build prompts from versioned, parameterized templates so prompt logic stays separate from agent orchestration code and can be tested, diffed, and swapped independently.

just now
Agentic
Interactive

Multi-Agent Communication in Go

Enable agents to exchange typed messages through a shared message bus so they can collaborate without direct references to each other's implementations.

just now