1
0
mirror of https://github.com/golang/go synced 2024-11-05 11:36:10 -07:00
go/cmd
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
..
cover go.tools/cover: clean up usage information 2013-09-24 17:27:26 +10:00
godoc go.tools/cmd/godoc: update import paths 2013-09-19 10:59:21 +10:00
gotype go.tools/gotype: move to go.tools/cmd/gotype 2013-09-19 11:38:07 +10:00
oracle go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
ssadump go.tools/importer: generalize command-line syntax. 2013-09-06 18:13:57 -04:00
vet go.tools/cmd/vet: handle recursive structs and slices. 2013-09-18 12:57:59 +10:00