SaaSHub helps you find the best software and product alternatives Learn more →
Fx Alternatives
Similar projects and alternatives to fx
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
container
A lightweight yet powerful IoC dependency injection container for the Go programming language (by golobby)
-
captcha
:sunglasses:Package captcha provides an easy to use, unopinionated API for captcha generation
-
-
wild-workouts-go-ddd-example
Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
-
-
-
todo-api-microservice-example
Go microservice tutorial project using Domain Driven Design and Onion Architecture!
-
-
-
dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
fx reviews and mentions
-
Does Golang has any framework like Springboot?
Spring Boot is notable for its dependency injection / inversion of control. The closest Go has to this is Uber's Fx which also includes some lifecycle management.
-
Config for production and mocking (db connections, http parsers etc)
If you have such a complex and deep dependency graph, and you don't want to manually maintain it, you could use some DI library to handle that for you. Something like https://github.com/google/wire for small-medium size stuff, or https://github.com/uber-go/fx for larger scale, more enterprise projects.
-
my office want to migrate to go programming language, what framework is recommended between chi or fiber?
I've been looking into fx by Uber. Looks pretty cool, but I haven't had the chance to do anything more than a hello, world with it.
-
What's the best dependency injection framework / methodology for Golang for the enterprise?
We’re happy with https://github.com/uber-go/fx
-
Modern API design with Golang, PostgreSQL and Docker.
Most people probably do it by hand (I do). But otherwise, probably https://github.com/google/wire is the most popular, maybe followed by https://github.com/uber-go/fx.
-
Learning a new language, or how I gained familiarity with Go
As an old Java head, I found FX [1] to fill a missing DI gap for me. Some can argue that it isn't really needed in go, and I tend to agree, but after using it in a few large projects, I find that it encourages a good separation of concerns that enables things to be easier tested as well as prevents cyclical imports.
-
Is dependency injection in Go a thing?
I can't imagine starting any new project in Go without uber-go/fx.
- How do you do dependency injection in go?
-
Dependency injection in Go with Uber-go/fx
That's a very fair perspective, and build-time verification of your dependency graph is great. That said, fx's approach allows for a more dynamic dependency graph. (For example, fx.Replace[0].)
The documentation for Fx, along with nearly all the applications I saw internally, use the dependency injection container only in main - once the application starts successfully, there's no more interaction with the container. For Uber at the time, this struck a useful balance between safety and the difficulty of distributing yet another versioned code gen tool to thousands of repositories.
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f160d30c940>
www.saashub.com | 22 Mar 2023
Stats
uber-go/fx is an open source project licensed under MIT License which is an OSI approved license.