Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Go codebase #78

Closed
dolanor opened this issue Feb 6, 2024 · 5 comments
Closed

Support for Go codebase #78

dolanor opened this issue Feb 6, 2024 · 5 comments

Comments

@dolanor
Copy link

dolanor commented Feb 6, 2024

I love those kind of visualizations.

Do you plan support on Go codebase?
Do you know if it could be somewhat trivial if somebody jumps in your codebase?

@gabotechs
Copy link
Owner

Even though I could use it myself, I'm not planning on doing it because of the technical complexity it would involve.

In Golang, dependencies between files are not explicitly declared, you can use symbols from any file without importing it as long as everything happens within same package, so resolving file dependencies would require a full parsing of the Golang syntax and evaluate from there.

Do you know if it could be somewhat trivial if somebody jumps in your codebase?

Making language implementations is designed to be simple, but I think Golang would be one of the hardest implementations, so it would not be a newcomer-friendly task definitely

@Olshansk
Copy link

I understand it's non trivial but +1 to this request!

@gabotechs gabotechs mentioned this issue Jun 5, 2024
6 tasks
@gabotechs
Copy link
Owner

Support for go was just added and it's available in the 0.20.2 version, feel free to try it out and give feedback!

@remyleone
Copy link

This version does not seem to be available through homebrew. I will try with python

@gabotechs
Copy link
Owner

It should be available through a homebrew tap (0.20.3 actually)

brew install gabotechs/taps/dep-tree

It will soon be present in the official homebrew repository, once Homebrew/homebrew-core#174092 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants