GoZix Glue
The package represents a very simple and easy implementation of the extensible application on golang. The core components of an application are bundles that are glued together using a dependency injection container.
Installation
go get github.com/gozix/glue/v3
Documentation
You can find documentation on pkg.go.dev and read source code if needed.
Built-in DI options
Name | Description |
---|---|
AsCliCommand | Add a cli command |
AsPersistentFlags | Add custom flags to root command |
AsPersistentPreRunner | Add persistent pre runner to root command |
Questions
If you have any questions, feel free to create an issue.