ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.82k stars 402 forks source link

fix crypto/sha256.Sum224 panic #122

Closed boyvinall closed 1 year ago

boyvinall commented 1 year ago

I was getting the same as #115:

panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte

but found that updating golang.org/x/tools seemed to fix it. Still just tinkering around, I've not used this in anger yet, but looking forward to doing so as it looks really useful. Hope this helps someone.

medyagh commented 1 year ago

I was getting the same as #115:

panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte

but found that updating golang.org/x/tools seemed to fix it. Still just tinkering around, I've not used this in anger yet, but looking forward to doing so as it looks really useful. Hope this helps someone.

this PR fixes this issue for me https://github.com/ofabry/go-callvis/issues/115

@ofabry any chance this could be merged into master?

ondrajz commented 1 year ago

Fixed in #121