1
0
mirror of https://github.com/golang/go synced 2024-10-01 04:18:33 -06:00
go/oracle
Alan Donovan 37f76edde8 go.tools/oracle: support -format=xml (for Eclipse)
This CL is mostly a renaming s/json/serial/, abstracting the
oracle package away from any particular data syntax.  (The
encoding/* machinery is very clean; clearly I should have
structured it this way from the outset.)

Supporting XML then becomes a one-liner in cmd/oracle/main.go.

Also: call MarshalIndent(), not Marshall() then Indent().

R=crawshaw
CC=golang-dev
https://golang.org/cl/13858046
2013-09-24 15:08:14 -04:00
..
serial go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
testdata/src go.tools/oracle: refactor Oracle API to allow repeated queries on same scope. 2013-09-23 15:02:18 -04:00
callees.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
callers.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -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: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
describe.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
freevars.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -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: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
peers.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
referrers.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00