You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least allow to trace package initialization traces. This can be done by simply inserting an init function in each package, and emit a print statement.
And maybe xgo can provide a tool called xgo inspect check-init, when invoked will do a static analysis to recursively find all imports and render the import tree in a web UI.
Currently init functions are skipped, that makes it impossible to inject mock and collect trace during the init stage.
However since init functions just run once and run serially, it has no performance impact at all. It might be useful.
The text was updated successfully, but these errors were encountered: