Closed Lag1101 closed 7 years ago
What guru version do you have? I just downloaded the latest one with go get -u golang.org/x/tools/cmd/guru
and that one uses "guru -json" as the format:
Flags:
-cpuprofile file
write CPU profile to file
-json
emit output in JSON format
-modified
read archive of modified files from standard input
-ptalog file
write points-to analysis log to file
I'm not able to specify version. I installed guru the same way, in the begin of week. I'll specify it on Monday, or earlier, if I could find this problem on home machine.
пт, 5 авг. 2016 г., 17:59 Bruno Medeiros notifications@github.com:
What guru version do you have? I just downloaded the latest one with go get -u golang.org/x/tools/cmd/guru and that one uses "guru -json" as the format:
Flags: -cpuprofile file write CPU profile to file -json emit output in JSON format -modified read archive of modified files from standard input -ptalog file write points-to analysis log to file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoClipse/goclipse/issues/221#issuecomment-237873422, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFtYI-xdnXnPy6mKw5Yk0y7we1PQKnNks5qc0-xgaJpZM4JdnCP .
Best regards, Vasily Lomanov
Hi!
go get golang.org/x/tools/cmd/guru go build golang.org/x/tools/cmd/guru mv guru $(go env GOROOT)/bin guru -help Flags: -cpuprofile file write CPU profile to file
пт, 5 авг. 2016 г. в 21:30, Василий Ломанов lomanovvasiliy@gmail.com:
I'm not able to specify version. I installed guru the same way, in the begin of week. I'll specify it on Monday, or earlier, if I could find this problem on home machine.
пт, 5 авг. 2016 г., 17:59 Bruno Medeiros notifications@github.com:
What guru version do you have? I just downloaded the latest one with go get -u golang.org/x/tools/cmd/guru and that one uses "guru -json" as the format:
Flags: -cpuprofile file write CPU profile to file -json emit output in JSON format -modified read archive of modified files from standard input -ptalog file write points-to analysis log to file
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoClipse/goclipse/issues/221#issuecomment-237873422, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFtYI-xdnXnPy6mKw5Yk0y7we1PQKnNks5qc0-xgaJpZM4JdnCP .
Best regards, Vasily Lomanov
Best regards, Vasily Lomanov
I still think you are doing something wrong. If you open https://godoc.org/golang.org/x/tools/cmd/guru and click the "main.go" link, you will see the listing of the help text that is presented on the guru command line, which lists just "-json" as the parameter
Can you check all guru files you might have (in $GOROOT/bin and $GOPATH/bin) and delete them (make sure which guru
finds nothing), delete $GOPATH/pkg too, and then try go get golang.org/x/tools/cmd/guru
again. (you don't need the build
command, get
builds the binary already.
Yes, you're right. I've just used old go version, thanks for your time.
пн, 8 авг. 2016 г., 17:49 Bruno Medeiros notifications@github.com:
I still think you are doing something wrong. If you open https://godoc.org/golang.org/x/tools/cmd/guru and click the "main.go" link, you will see the listing of the help text https://github.com/golang/tools/blob/master/cmd/guru/main.go#L45 that is presented on the gure command line, which list just "-json" as the parameter
Can you check all guru files you might have (in $GOROOT/bin and $GOPATH/bin) and delete them (make sure which guru finds nothing), delete $GOPATH/pkg too, and then try go get golang.org/x/tools/cmd/guru again. (you don't need the build command, get builds the binary already.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoClipse/goclipse/issues/221#issuecomment-238261258, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFtYIWWAqh0tH84gAU9MLpJWHReEvwpks5qd0HkgaJpZM4JdnCP .
Best regards, Vasily Lomanov
Now, for the same affect, call must be: guru -fomat json to fix for current version just fix this file goclipse-0.16.1/plugin_tooling/src/com/googlecode/goclipse/tooling/oracle/GuruDescribeOperation.java