Go Semantics Aware diff tool?

100 views
Skip to first unread message

Steve Mynott

unread,
Apr 14, 2021, 7:51:31 AM4/14/21
to golang-nuts
I'm aware tools exist to parse go and a quick google search search
fails me but I was wondering if there was a utility which was a
go-aware diff which I could use like "git diff master" which printed
out a list of funcs changed?

Cheers Steve

--
Steve Mynott <steve....@gmail.com>
cv25519/ECF8B611205B447E091246AF959E3D6197190DD5

Jan Mercl

unread,
Apr 14, 2021, 8:00:37 AM4/14/21
to Steve Mynott, golang-nuts
On Wed, Apr 14, 2021 at 1:51 PM Steve Mynott <steve....@gmail.com> wrote:

> I'm aware tools exist to parse go and a quick google search search
> fails me but I was wondering if there was a utility which was a
> go-aware diff which I could use like "git diff master" which printed
> out a list of funcs changed?

Would this work for you?

$ git diff master | grep '@@ func'
Reply all
Reply to author
Forward
0 new messages