Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.5% on proxy.golang.org
Top 1.1% forks on proxy.golang.org

proxy.golang.org : github.com/uber-go/Fx

Package fx is a framework that makes it easy to build applications out of reusable, composable modules. Fx applications use dependency injection to eliminate globals without the tedium of manually wiring together function calls. Unlike other approaches to dependency injection, Fx works with plain Go functions: you don't need to use struct tags or embed special types, so Fx automatically works well with most Go packages. Basic usage is explained in the package-level example below. If you're new to Fx, start there! Advanced features, including named instances, optional parameters, and value groups, are explained under the In and Out types. To test functions that use the Lifecycle type or to write end-to-end tests of your Fx application, use the helper functions and types provided by the go.uber.org/fx/fxtest package.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/uber-go/%21fx
Keywords: app-framework, dependency-injection, framework, go, golang, service
License: MIT
Latest release: 17 days ago
First release: about 7 years ago
Namespace: github.com/uber-go
Stars: 3,743 on GitHub
Forks: 246 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...