hirokidaichi / goviz Goto Github PK
View Code? Open in Web Editor NEWa visualization tool for golang project dependency
a visualization tool for golang project dependency
Hi,
The filename display is nice but it behaves badly when packages contain a large number of files (e.g. golang.org/x/sys/unix
).
Please consider adding an option to hide filename display,
Thanks
No log generate
root@kali ~# go get github.com/hirokidaichi/goviz
root@kali ~# goviz
fish: Unknown command 'goviz'
export GOPATH=/tmp/go_a:/tmp/go_b
go get github.com/hirokidaichi/goviz
goviz -i github.com/hirokidaichi/goviz
// Output:
// inputdir does not exist.
// go get github.com/hirokidaichi/goviz
Running goviz generates no output at all, I don't even get the help message with -h. No commands provide any output at all. It was installed with go get github.com/hirokidaichi/goviz
. Using go version 1.6.3 on Ubuntu 16.04.1.
as title
This is what I get. I can come back with config files if you want, but in a nutshell I'm running a pretty vanilla Mavericks with the latest go, brew, zsh, etc
➜ ~ goviz -i github.com/hashicorp/serf | dot -Tpng -o hoge.png
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x18 pc=0x20ee]
goroutine 1 [running]:
runtime.panic(0x12c680, 0x2ce219)
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.main()
/Users/andrei/src/github.com/hirokidaichi/goviz/goviz.go:40 +0x7e
➜ ~ goviz -i github.com/mattn/anko | dot -Tpng -o anko.png
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x18 pc=0x20ee]
goroutine 1 [running]:
runtime.panic(0x12c680, 0x2ce219)
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.main()
/Users/andrei/src/github.com/hirokidaichi/goviz/goviz.go:40 +0x7e
➜ ~ goviz -i github.com/dotcloud/docker/docker -m
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x18 pc=0x20ee]
goroutine 1 [running]:
runtime.panic(0x12c680, 0x2ce219)
/usr/local/Cellar/go/1.2.1/libexec/src/pkg/runtime/panic.c:266 +0xb6
main.main()
/Users/andrei/src/github.com/hirokidaichi/goviz/goviz.go:40 +0x7e
It's super nice being able to use --search
to limit to the packages that are part of an application without showing dependencies of all the third-party libraries.
It's also nice to combine --search
with --leaf
to show those third-party libraries without all the details.
But then all the standard library packages like fmt
end up in the graph too. Maybe they could be excluded somehow?
For an example of what I'm thinking, something like this where the go-flags
package is shown as is, but the other leaf packages (std) are not.
goviz -i github.com/hirokidaichi/goviz -s github.com/hirokidaichi/goviz -l | dot -Tpng -o viz.png
I would probably suggest hiding std
packages by default and having a --std
option to include them.
go get github.com/hirokidaichi/goviz
Worked fine
sudo apt install graphviz
Worked fine
goviz -i github.com/mattn/anko | dot -Tpng -o anko.png
Had no output, image was not create
goviz -h
No output
goviz
executable is present in bin
folder but executing it does not output anything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.