]> Cypherpunks repositories - gostls13.git/commit
make interface to the flags themselves more public.
authorRob Pike <r@golang.org>
Tue, 17 Feb 2009 03:43:15 +0000 (19:43 -0800)
committerRob Pike <r@golang.org>
Tue, 17 Feb 2009 03:43:15 +0000 (19:43 -0800)
commitbbc190b3ee927f5dc6c518dbda547596e79a4bbb
tree2d39362af3e6d1db7b4ccfb08507bedd86d16462
parentd3d0c256be36bbe159f54f9d32456865354a618b
make interface to the flags themselves more public.
add visitor functions to scan the flags.
add a way to set a flag.
add a flag test.

R=rsc
DELTA=169  (99 added, 19 deleted, 51 changed)
OCL=25076
CL=25078
src/lib/flag.go
src/lib/flag_test.go [new file with mode: 0644]