do
do copied to clipboard
Detect circular dependency and panic
Which one do you prefer to be implenmented first: runtime check or static check? If later, I think we may need a extra tool because there is less support for compiling code in Golang.
I would prioritize a runtime check, since the services can be invoked/replaced in a dynamic way.
And as you said, we won't need an extra tool.
This dependency graph should come with debug functions, in order to understand how the application is booted !
LGTM, I will do a detector in runtime.
Will be added into v2 -> #45