Closed suntong closed 2 years ago
The call graph analysis happens for the source code and since it uses some internal Go libraries it will use the ones installed to resolve the call graph. The project you ran it for requires go 1.16 so to build the call graph you will need go 1.16 too.
OK, Thanks. So
go-callvis
to be compiled with go-1.16
, butgo-1.16
environment to generate call graph for packages that needs Go 1.16,right?
Yes, that is correct. Try it and let me know if you are still having issues.
Thanks! will do.
Hi,
go-1.15
, andgithub.com/xo/xo
which needs Go 1.16 to compile andgo-callvis
to generate call graph for it, butThis is what I got:
I've already use
-ignore embed,io/fs
to tellgo-callvis
to ignoreembed,io/fs
, but why it is still trying to work on it?Internally, how does thing work? E.g, if I got one
go-callvis
compiled withgo-1.16
, would it understand packages that depends on Go 1.16, while my go is still 1.15?thanks