Go-IOC is a runtime dependency injection library developed for the Go language. The language characteristics of the Go language determine that it is not easy to implement a type-safe dependency injection container, so Go-IOC uses Go’s reflection mechanism extensively. If your usage scenario is not that demanding on performance, then Go-IOC is very suitable for you. It’s not that it can’t be used in performance-critical environments. You can use Go-IOC as an object dependency management tool to obtain dependent objects when your business is initialized. How to use go get github.com/mylxsw/go-ioc To create a Container… |
#GoIOC #dependency #injection #container #developed