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/[email protected]
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.