بازگشت به نتایج جستجو

samber / AGENT SKILL

golang-samber-do

فارسی + English

این اسکیل چه می‌کند؟

DI در Go با samber/do؛ container، lifecycle، scope، health check، graceful shutdown و module؛ هنگام استفاده/پذیرش، importِ github.com/samber/do یا /v2، یا refactor constructor injection دستی به container.

ORIGINAL DESCRIPTION

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container.

چه زمانی به کار می‌آید؟

در دادهٔ اصلی، کاربرد جداگانه‌ای ثبت نشده است. توضیح بالا و صفحهٔ منبع را ببینید.