Wire dependencies using constructor-based dependency injection throughout services, repositories, and handlers.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Register and retrieve services at runtime using a thread-safe service registry pattern for loose coupling between plugins.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
any back to specific interfacesServices are registered in plugin Init() methods using the registry interface:
// Get a core service
service, ok := ctx.ServiceRegistry.Get(models.ServiceXxx.String()).(ServiceInterface)
if !ok {
return errors.New("service not available")
}
// Register your plugin's service
ctx.ServiceRegistry.Register(models.ServicePlugin.String(), myService)
Always check the ok flag on type assertions. Store retrieved services in plugin struct for internal use.
See bootstrap.go for implementation.
ok flag on type assertionsmodels.ServiceXxx constants아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Wire dependencies using constructor-based dependency injection throughout services, repositories, and handlers.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Use this skill when answering questions, explaining concepts, writing technical responses, reviewing code, or helping with development tasks. Communicate in clear, simple, standard English. Keep answers concise and focused, remove unnecessary filler and repetition, explain technical ideas in plain language, and structure information so it is easy to read and understand. When showing code, present it clearly with enough context for the developer to understand what it does and where it belongs.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
A relentless interview to sharpen a plan or design.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Implement HTTP handlers that parse requests, invoke use cases, and format responses following REST conventions.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Compact the current conversation into a handoff document for another agent to pick up.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.