You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods in Go have a receiver, and you can have multiple methods with the same name but a different receiver. In order to make it easier for users of godef to figure out the exact function the definition refers to, it would be useful if godef supplies some way to print the methods receiver along with it's type.
Methods in Go have a receiver, and you can have multiple methods with the same name but a different receiver. In order to make it easier for users of
godef
to figure out the exact function the definition refers to, it would be useful ifgodef
supplies some way to print the methods receiver along with it's type.For example for:
Running
godef.exe -t -f foo.go bufio.Reader.ReadLine
, gives you:While
ReadLine
has ab *Reader
receiver which is unavailable in the current output.This will make it easier to resolve microsoft/vscode-go#2107.
cc @ramya-rao-a
The text was updated successfully, but these errors were encountered: