Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Address issue #246. #252

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Address issue #246. #252

wants to merge 2 commits into from

Conversation

dotwilbert
Copy link

After proposed change, there is no error message, but instead:

>> Running: /usr/local/go/bin/guru -format json describe /tmp/_goclipse840241577367384989/src/describe_temp/describe.go:#8,#8
   with GOROOT: /usr/local/go
   with GOPATH: /tmp/_goclipse840241577367384989
{
	"mode": "describe",
	"describe": {
		"desc": "definition of package \"describe_temp\"",
		"pos": "/tmp/_goclipse840241577367384989/src/describe_temp/describe.go:1:9",
		"detail": "package",
		"package": {
			"path": "describe_temp",
			"members": [
				{
					"name": "main",
					"type": "func()",
					"pos": "/tmp/_goclipse840241577367384989/src/describe_temp/describe.go:11:6",
					"kind": "func"
				}
			]
		}
	}
}   ^^^ Terminated, exit code: 0 ^^^

Looks like the parameters to guru are incorrect. The guru documentation:
```
Usage: guru [flags] <mode> <position>

The mode argument determines the query to perform:
...
The -format flag controls the output format:
	plain	an editor-friendly format in which every line of output
		is of the form "pos: text", where pos is "-" if unknown.
	json	structured data in JSON syntax.
	xml	structured data in XML syntax.

The -modified flag causes guru to read an archive	...

```
@paulvi
Copy link

paulvi commented Feb 6, 2018

So will this PR solve #246 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants