1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:38:32 -06:00
go/oracle
Alan Donovan 3a4c0462d8 go.tools/oracle: change -mode argument into subcommand.
e.g. "oracle callgraph <package>"

Also: simplified error handling.
Eliminated oracle.errorf because it prepends "file:line:col: "
to the error message so the main function can't safely prepend "Error: ".
The position wasn't interesting though: it was just -pos, more or less.

R=crawshaw, dominik.honnef, r
CC=golang-dev
https://golang.org/cl/13864044
2013-09-25 14:34:39 -04:00
..
serial go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
testdata/src go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
callees.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
callers.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
callgraph.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
callstack.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
describe.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
freevars.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
implements.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
oracle_test.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
oracle.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
peers.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00
referrers.go go.tools/oracle: change -mode argument into subcommand. 2013-09-25 14:34:39 -04:00