Skip to content

jeb2239/diframeworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Dependency Injection Frameworks

This repo has very simple examples of how to use both fx and wire di frameworks.

The uber fx framework uses reflection to initialize dependencies where as wire uses a code generator.

Ideally would like to add some examples using fx lifecycle and advanced features along with wire provider sets and other stuff.

See documentations:

https://pkg.go.dev/github.com/google/wire

https://pkg.go.dev/go.uber.org/fx

Proposal:

https://docs.google.com/document/d/15KVfsiV6AETLSbNIeTLS4bmIz0BOp9krMrVS66Vg6oc/edit?usp=sharing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages