Questions tagged [go-guru]

Go's `guru` is an editor-integrated tool for navigating Go code. It replaces `oracle` which was used until Go 1.7.

6 questions
5
votes
0 answers

How to integrate guru with visual studio code?

I followed the guide, and I have it installed on my linux system: guru -help works. And at the point of integrating it with vs-code the guide says consult it at: https://github.com/Microsoft/vscode-go but I don't see how. Any step-by-step guides or…
Francesc Recio
  • 2,187
  • 2
  • 13
  • 26
5
votes
1 answer

Cannot get GoLang oracle package

I am completely new to GoLang, so chances are I messed up my setup. Here is what I have : echo $GOPATH /Users/name/Documents/Developer/Go_Workspace This one worked. name$ go get -v golang.org/x/tools/cmd/oracle It created 2 subfolders inside the…
ghostrider
  • 5,131
  • 14
  • 72
  • 120
3
votes
1 answer

List all types implementing an interface in Go

I'm new to Go, and I'd like to know if there's a way in Goland or w/ a CLI tool to list all the types that implement a given interface. I found a tool called guru that can list all interfaces implemented by a given type, but I haven't been able to…
jeremie
  • 971
  • 9
  • 19
1
vote
2 answers

Where is 's' defined in https://github.com/Workiva/go-datastructures/tree/master/bitarray?

I do not see where s is defined. Guru will not tell me. All I get is "no object for identifier" but it knows about the k right beside it. Here is a snippet that is typical of the linked code: func getIndexAndRemainder(k uint64) (uint64, uint64) { …
Sean Perry
  • 3,776
  • 1
  • 19
  • 31
0
votes
1 answer

godef not working in goclipse for non local definitions

I 've been using goclipse for a while. I never got the godef working in eclipse except for the definitions in the same file opened in the editor. I never bothered much but this time I thought I will get this fixed. But looks like no way I am able to…
joe
  • 1,136
  • 9
  • 17
0
votes
1 answer

go-guru on linux code in non-linux system

We use docker and so the source code is for linux code. However, we develop on Macs, and as a result go-guru-callers fails to work when run locally. It complains with the error below but the error is because that property is linux…
U Avalos
  • 6,538
  • 7
  • 48
  • 81