{"id":13413442,"url":"https://github.com/uber-go/fx","last_synced_at":"2025-05-14T03:10:56.632Z","repository":{"id":37819158,"uuid":"72056048","full_name":"uber-go/fx","owner":"uber-go","description":"A dependency injection based application framework for Go.","archived":false,"fork":false,"pushed_at":"2025-03-31T21:25:26.000Z","size":2957,"stargazers_count":6454,"open_issues_count":68,"forks_count":309,"subscribers_count":67,"default_branch":"master","last_synced_at":"2025-05-12T21:47:44.888Z","etag":null,"topics":["app-framework","dependency-injection","framework","go","golang","service"],"latest_commit_sha":null,"homepage":"https://uber-go.github.io/fx/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uber-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-10-27T00:25:00.000Z","updated_at":"2025-05-12T21:36:45.000Z","dependencies_parsed_at":"2023-10-13T02:50:54.874Z","dependency_job_id":"c94b934a-25ce-4180-b6f3-40ce63fdd656","html_url":"https://github.com/uber-go/fx","commit_stats":{"total_commits":982,"total_committers":82,"mean_commits":"11.975609756097562","dds":0.8635437881873727,"last_synced_commit":"de8c6403579ece491ea017c1c1fbc9c2ed104a3d"},"previous_names":["uber-go/uberfx"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Ffx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Ffx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Ffx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-go%2Ffx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber-go","download_url":"https://codeload.github.com/uber-go/fx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059513,"owners_count":22007769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["app-framework","dependency-injection","framework","go","golang","service"],"created_at":"2024-07-30T20:01:40.498Z","updated_at":"2025-05-14T03:10:51.619Z","avatar_url":"https://github.com/uber-go.png","language":"Go","readme":"# :unicorn: Fx [![GoDoc](https://pkg.go.dev/badge/go.uber.org/fx)](https://pkg.go.dev/go.uber.org/fx) [![Github release](https://img.shields.io/github/release/uber-go/fx.svg)](https://github.com/uber-go/fx/releases) [![Build Status](https://github.com/uber-go/fx/actions/workflows/go.yml/badge.svg)](https://github.com/uber-go/fx/actions/workflows/go.yml) [![Coverage Status](https://codecov.io/gh/uber-go/fx/branch/master/graph/badge.svg)](https://codecov.io/gh/uber-go/fx/branch/master) [![Go Report Card](https://goreportcard.com/badge/go.uber.org/fx)](https://goreportcard.com/report/go.uber.org/fx)\n\nFx is a dependency injection system for Go.\n\n**Benefits**\n\n- Eliminate globals: Fx helps you remove global state from your application.\n  No more `init()` or global variables. Use Fx-managed singletons.\n- Code reuse: Fx lets teams within your organization build loosely-coupled\n  and well-integrated shareable components.\n- Battle tested: Fx is the backbone of nearly all Go services at Uber.\n\nSee our [docs](https://uber-go.github.io/fx/) to get started and/or\nlearn more about Fx.\n\n## Installation\n\nUse Go modules to install Fx in your application.\n\n```shell\ngo get go.uber.org/fx@v1\n```\n\n## Getting started\n\nTo get started with Fx, [start here](https://uber-go.github.io/fx/get-started/).\n\n## Stability\n\nThis library is `v1` and follows [SemVer](https://semver.org/) strictly.\n\nNo breaking changes will be made to exported APIs before `v2.0.0`.\n\nThis project follows the [Go Release Policy](https://golang.org/doc/devel/release.html#policy). Each major\nversion of Go is supported until there are two newer major releases.\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/uber-go/fx.svg)](https://starchart.cc/uber-go/fx)\n\n","funding_links":[],"categories":["Go","Miscellaneous","开源类库","杂项","Repositories","Open source library","常用依赖注入库","Microsoft Office","Dependency Injection","其他杂项"],"sub_categories":["Dependency Injection","依赖注入","Addiction Injection","交互工具","依赖性注入"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Ffx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber-go%2Ffx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-go%2Ffx/lists"}