diff options
author | David Symonds <dsymonds@golang.org> | 2009-05-04 15:14:22 -0700 |
---|---|---|
committer | David Symonds <dsymonds@golang.org> | 2009-05-04 15:14:22 -0700 |
commit | 1c2a5fdac6b2088cc6bea467f629e17f2c96b6a3 (patch) | |
tree | c55ba61980d48505bfe3a97780010b9ffa6aa622 /src/lib/testing.go | |
parent | f4d5d960d85b6360c649dd5917bd4f30747231b5 (diff) | |
download | golang-1c2a5fdac6b2088cc6bea467f629e17f2c96b6a3.tar.gz |
Remake exvar package to be more Go-ish.
It now exports a Var interface (anyone can export their own custom var types now), so users need to create and manage their own vars and mark them as exportable via the Publish function. They are exposed via /debug/vars.
R=r,rsc
APPROVED=r
DELTA=605 (314 added, 186 deleted, 105 changed)
OCL=28143
CL=28239
Diffstat (limited to 'src/lib/testing.go')
0 files changed, 0 insertions, 0 deletions