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
There has been more discussion of this in #81, but the summary is:
Golang is somewhat unique among languages in that the structural layout of the code does not match the hierarchical layout of the concepts. Methods are not nested under structs, and indeed are not guaranteed to be defined below the struct or even in the same file.
Aerial was built with the assumption that the hierarchical structure matches the code structure
Making aerial represent the hierarchical structure of Go would require a lot of custom code, and would still be janky. Some of aerial's features would straight up not work, or would have unexpected results.
If this is something you need, you'll have to use a golang-specific plugin.
A method is a root node, but it should be a subtree of the struct it belongs to.
The text was updated successfully, but these errors were encountered: