1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:28:37 -06:00
go/cmd/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
..
emacs-test.bash go.tools/oracle: an oracle that answers questions about Go source code. 2013-08-27 17:58:26 -04:00
main.go go.tools/oracle: support -format=xml (for Eclipse) 2013-09-24 15:08:14 -04:00
oracle.el go.tools/oracle: turn emacs integration into minor-mode 2013-09-12 22:34:38 -04:00
oracle.vim go.tools/cmd/oracle: Encoding issue, Possible to describe modified file 2013-09-20 11:09:27 +10:00