go-callvis icon indicating copy to clipboard operation
go-callvis copied to clipboard

Visualize call graph of a Go program using Graphviz

Results 104 go-callvis issues
Sort by recently updated
recently updated
newest added

I would like to be able to provide a comma-separated list of packages to graph their relationship to other packages (and possibly to each other). I.e.: `go-callvis github.com/johnrichardrinehart/repo1/pkg1,github.com/johnrichardrinehart/repo1/pkg2`. Note that...

new feature

The current Graphviz settings used for the output via dot utility is not very useful when used on packages with large call graphs. I believe there must be some way...

enhancement
help wanted

I have a web service that registers callback functions that never get explicitly called. Running this tool skips over those functions, which is exactly what I want to graph.

enhancement

I run: ``` ~/go/bin/go-callvis -group pkg -nointer -file /tmp/rotator-modules -skipbrowser -ignore gotask.ws/scm/ts/rotator/vendor -nostd -focus '' -limit gotask.ws/scm/ts/rotator/modules gotask.ws/scm/ts/rotator/cmd/rotator ``` And receive: ``` 2019/03/12 09:10:50 writing dot output.. 2019/03/12 09:10:50 converting...

I have a suggestion that there is a need to omit defer functions when a package has so many. They would occupy plenty of unnecessary space. 🚀 ------------ Thanks for...

new feature

Hi, I have a project that contains multiple imported packages, some of them are [blanked](https://golang.org/doc/effective_go.html#blank_unused) because I'm using only the `init()` function, the problem is that in go-callvis they are...

question

Is there a way to focus on the methods of a type instead of all functions in a package? I'm wondering if maybe this functionality already exists but I just...

enhancement

This is error in go1.19 darwin/arm64 panic: no concrete method: func (*sync/atomic.Pointer[go/token.File]).CompareAndSwap(old *go/token.File, new *go/token.File) (swapped bool) goroutine 7994 [running]: golang.org/x/tools/go/ssa.(*Program).declaredFunc(0x14025f4b860, 0x14052b23f20) /Users/xsh/go/pkg/mod/golang.org/x/[email protected]/go/ssa/methods.go:124 +0x108 golang.org/x/tools/go/ssa.(*Program).addMethod(0x105177bf8?, 0x14033f82280, 0x14052b1b9f0) /Users/xsh/go/pkg/mod/golang.org/x/[email protected]/go/ssa/methods.go:86 +0x148

ignore package by regexp or glob? eg. -ignore github.com/xxx/.*