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

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

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

codegangsta/inject

0
View on GitHub↗
978 نجوم·146 تفرعات·Go·MIT·3 مشاهدات

Inject

Inject هي مكتبة حقن تبعية لـ Go تدير دورات حياة الكائنات وتوصل مكونات التطبيق عن طريق أتمتة توفير التبعيات. تعمل كحاوية قائمة على الانعكاس تعين قيماً محددة لأنواعها المقابلة، مما يتيح الاسترجاع التلقائي وحقن الكائنات في منطق التطبيق.

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

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

Features

  • Dependency Injection Frameworks - Manages object lifecycles and wires complex dependencies in Go applications to improve modularity.
  • Reflection-Based Invocations - Executes functions by automatically resolving required arguments from mapped dependencies using reflection.
  • Dependency Injection Libraries - Provides a toolkit for managing object lifecycles and resolving dependencies using reflection and type-based mapping.
  • Dependency Injection Containers - Provides a dependency injection container that supports chaining and hierarchical resolution.
  • Reflection-Based Dependency Resolution - Matches concrete implementations to requested interface types using runtime reflection.
  • Hierarchical Containers - Supports nested container structures where child scopes inherit dependencies from parent containers.
  • Dependency Argument Injection - Automatically resolves and injects function arguments by inspecting signatures at runtime.
  • Function Invocation Mappings - Automates function execution by mapping dependencies to required parameters.
  • Struct Tags - Populates struct fields by scanning for metadata tags during object initialization.
  • Dependency Injection Population - Automatically populates struct fields with dependencies based on metadata tags.
  • Type-Based Dependency Mappings - Associates values with types to enable automatic retrieval and injection during runtime.

سجل النجوم

مخطط تاريخ النجوم لـ codegangsta/injectمخطط تاريخ النجوم لـ codegangsta/inject

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

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

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

Start searching with AI

مجموعات مختارة تضم Inject

مجموعات منسقة بعناية يظهر فيها Inject.
  • مجموعات أدوات حقن التبعية لـ Go

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

ما هي وظيفة codegangsta/inject؟

Inject هي مكتبة حقن تبعية لـ Go تدير دورات حياة الكائنات وتوصل مكونات التطبيق عن طريق أتمتة توفير التبعيات. تعمل كحاوية قائمة على الانعكاس تعين قيماً محددة لأنواعها المقابلة، مما يتيح الاسترجاع التلقائي وحقن الكائنات في منطق التطبيق.

ما هي الميزات الرئيسية لـ codegangsta/inject؟

الميزات الرئيسية لـ codegangsta/inject هي: Dependency Injection Frameworks, Reflection-Based Invocations, Dependency Injection Libraries, Dependency Injection Containers, Reflection-Based Dependency Resolution, Hierarchical Containers, Dependency Argument Injection, Function Invocation Mappings.

ما هي البدائل مفتوحة المصدر لـ codegangsta/inject؟

تشمل البدائل مفتوحة المصدر لـ codegangsta/inject: facebookarchive/inject — Inject is a dependency injection framework for Go that automates the assembly of complex object graphs. By leveraging… ets-labs/python-dependency-injector — This is a dependency injection framework and inversion of control container for Python. It decouples object creation… mvvmcross/mvvmcross — MvvmCross is a .NET MVVM framework designed for building cross-platform applications by separating business logic from… jeffijoe/awilix — Awilix is a JavaScript dependency injection framework and inversion of control container. It provides a centralized… derekyrc/mini-spring — mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle… apple/container — This project serves as a technical educational resource and software implementation example focused on dependency…

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

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Inject.
  • 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
  • ets-labs/python-dependency-injectorالصورة الرمزية لـ ets-labs

    ets-labs/python-dependency-injector

    4,805عرض على GitHub↗

    This is a dependency injection framework and inversion of control container for Python. It decouples object creation from business logic by managing how services and their dependencies are assembled, delivered, and linked within an application. The framework is distinguished by its ability to perform automated component wiring, using import hooks and decorators to inject dependencies into functions and classes across different modules. It supports non-blocking flows through an asynchronous dependency resolver and manages the initialization and shutdown sequences of shared external resources a

    Pythonaiohttpasynciodependency-injection
    عرض على GitHub↗4,805
  • mvvmcross/mvvmcrossالصورة الرمزية لـ MvvmCross

    MvvmCross/MvvmCross

    3,917عرض على GitHub↗

    MvvmCross is a .NET MVVM framework designed for building cross-platform applications by separating business logic from native user interfaces. It functions as a navigation engine and a UI data binding library, enabling the encapsulation of logic within view models that are reused across different operating systems. The framework provides a native hardware abstraction layer and a dependency injection container to decouple components and provide a consistent interface for accessing device features. It coordinates type-safe transitions between native screens and manages the synchronization of da

    C#androidc-sharpdotnet
    عرض على GitHub↗3,917
  • derekyrc/mini-springالصورة الرمزية لـ DerekYRC

    DerekYRC/mini-spring

    6,360عرض على GitHub↗

    mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle of beans, including instantiation, property population, and scope management, while providing a system for automating the wiring of components. The project implements a Java AOP framework that uses dynamic proxies to intercept method calls for cross-cutting logic. It also functions as a Java component scanner to automatically discover and register managed objects via annotations and as a Java event bus to decouple components through a publish-subscribe multicast system. The

    Javamini-springspringspring-boot
    عرض على GitHub↗6,360
عرض جميع البدائل الـ 30 لـ Inject→