Description
I'm trying to find all interfaces in the standard library that implement io.Reader
or are called NewDecoder
. I thought guru
would be able to help with this but I was unable to figure out how to use it correctly.
-
guru help implements
displays the generic help text. -
guru implements -h
orguru implements help
print:$ guru implements -h guru: bad position syntax "-h"
-
guru implements -scope github.com/golang/go/src/... io.Reader
prints simply:$ guru implements -scope github.com/golang/go/src/... io.Reader Run 'guru -help' for more information.
Reading the help text more carefully now, I see that I'm supposed to pass a filename and a line number as the position
argument. This is a little confusing, I think, since other "implements" tools (dominikh/implements, "go oracle") said that this was a drop in replacement, and neither of them required filenames or line numbers, I don't think.
Maybe I am an idiot and maybe I should read more carefully but I wasn't able to find examples of successful usage when searching Google, and I wasn't able to get it to work, and it's possible that other users are having the same problems.