Autowire is reflection based dependency-injection library for Golang.
This README is in working in progress state.
The whole project build with go modules. To get the latest version, use go1.16+ and fetch it using the go get command. For example:
go get github.com/go-autowire/autowire
To get the specific version, use go1.16+ and fetch it using the go get command. For example:
go get github.com/go-autowire/autowire@v1.0.6
Autowire is a simple golang module that automatically connects components using dependency injection. Autowire works using Go's reflection package and struct field tags. Dependencies inside the components should be annotated with "autowire" tag.