awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
uber-go avatar

uber-go/dig

0
View on GitHub↗
4,470 نجوم·226 تفرعات·Go·MIT·13 مشاهداتgo.uber.org/dig↗

Dig

dig هو إطار عمل لحقن التبعية القائم على الانعكاس ومحلل رسم بياني للكائنات لـ Go. يعمل كحاوية تلبي تبعيات النوع تلقائياً وتدير إنشاء شبكات معقدة من الكائنات أثناء بدء تشغيل التطبيق.

يستخدم المشروع رسماً بيانياً موجهاً غير دوري لتحديد التسلسل الضروري لإنشاء الكائنات ويستخدم تعيين المزود القائم على الواجهة لفصل التنفيذات الملموسة عن واجهاتها الملباة. ويحلل التسلسل الهرمي للكائنات من خلال دقة النوع القائمة على الانعكاس وأسلاك المكونات ذات التمريرة الواحدة لضمان تلبية جميع المتطلبات قبل التنفيذ.

Features

  • Dependency Injection - Provides a framework for decoupling software components by injecting required dependencies at runtime.
  • Reflection-Based Dependency Resolution - Uses runtime type analysis and Go reflection to match dependency requests with available providers.
  • Dependency Graph Resolvers - Provides an engine to resolve and traverse the relationships between dependent objects during startup.
  • Concrete Type Mappings - Maps concrete implementation types to interfaces to enable decoupled object injection via reflection.
  • Go DI Frameworks - Implements a dependency injection framework specifically designed for the Go programming language.
  • Dependency Graph Construction - Constructs a directed acyclic graph to determine the correct instantiation sequence for dependent objects.
  • Automatic Graph Resolutions - Automatically assembles and resolves the dependency graph of objects at application startup.
  • Application Bootstrapping - Manages the setup of a complex network of objects and services during the initial boot sequence.
  • Lazy Instance Provisioning - Defers the creation of dependent components until they are explicitly requested by a consumer.
  • Dependency Graph Traversals - Resolves the entire object hierarchy in a single traversal to ensure all dependencies are satisfied before execution.
  • Dependency Injection - Reflection-based dependency injection toolkit.

سجل النجوم

مخطط تاريخ النجوم لـ uber-go/digمخطط تاريخ النجوم لـ uber-go/dig

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Dig

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Dig.
  • autofac/autofacالصورة الرمزية لـ autofac

    autofac/Autofac

    4,649عرض على GitHub↗

    Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component registration engine that decouples class implementations from their dependencies by injecting required services via constructors or properties. The project includes an assembly scanning library to automatically discover and register components within compiled binaries based on specific type criteria. It provides a service lifetime manager to control object memory duration using singletons, instance-per-dependency, or isolated request scopes. The framework covers a broad range

    C#autofacc-sharpdependency-injection
    عرض على GitHub↗4,649
  • uber-go/fxالصورة الرمزية لـ uber-go

    uber-go/fx

    7,354عرض على GitHub↗

    Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model container that automates the instantiation and connection of components by analyzing constructor parameters and return values to resolve complex dependency graphs. The framework distinguishes itself through module-based component bundling, which encapsulates related constructors into reusable units to manage visibility and logic. It provides advanced resolution capabilities, including mapping concrete types to interfaces for decoupling, resolving dependency ambiguities via unique

    Goapp-frameworkdependency-injectionframework
    عرض على GitHub↗7,354
  • facebookarchive/injectالصورة الرمزية لـ facebookarchive

    facebookarchive/inject

    1,408عرض على GitHub↗

    Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging runtime reflection, the library dynamically inspects object structures to resolve and populate required dependencies, decoupling component initialization from business logic. The framework manages object lifecycles through both singleton and factory-based provisioning. It maintains a central registry to share singletons across an application for consistent state, while also supporting the creation of unique, private instances to isolate state between different components. To

    Go
    عرض على GitHub↗1,408
  • inversify/inversifyjsالصورة الرمزية لـ inversify

    inversify/InversifyJS

    12,066عرض على GitHub↗

    InversifyJS is an inversion of control framework and dependency injection library for TypeScript. It provides a centralized container to manage object lifecycles and automate the instantiation of classes and their dependencies. The library decouples software components by mapping unique identifiers to concrete implementations. This architecture separates object creation from business logic and allows for the replacement of real service implementations with mock objects during unit testing. The framework utilizes TypeScript decorators to provide metadata-driven injection and recursive depende

    TypeScript
    عرض على GitHub↗12,066
عرض جميع البدائل الـ 30 لـ Dig→

الأسئلة الشائعة

ما هي وظيفة uber-go/dig؟

dig هو إطار عمل لحقن التبعية القائم على الانعكاس ومحلل رسم بياني للكائنات لـ Go. يعمل كحاوية تلبي تبعيات النوع تلقائياً وتدير إنشاء شبكات معقدة من الكائنات أثناء بدء تشغيل التطبيق.

ما هي الميزات الرئيسية لـ uber-go/dig؟

الميزات الرئيسية لـ uber-go/dig هي: Dependency Injection, Reflection-Based Dependency Resolution, Dependency Graph Resolvers, Concrete Type Mappings, Go DI Frameworks, Dependency Graph Construction, Automatic Graph Resolutions, Application Bootstrapping.

ما هي البدائل مفتوحة المصدر لـ uber-go/dig؟

تشمل البدائل مفتوحة المصدر لـ uber-go/dig: autofac/autofac — Autofac is a dependency injection framework and inversion of control container for .NET. It functions as a component… uber-go/fx — Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model… facebookarchive/inject — Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging… inversify/inversifyjs — InversifyJS is an inversion of control framework and dependency injection library for TypeScript. It provides a… google/guice — Guice is a Java dependency injection framework and component container. It automates object wiring by mapping… alibaba/beehive — BeeHive is a modular architecture framework for iOS applications. It provides a dependency injection container, an…