commit | 3cc702ba60587aaefbc953e93eedbe1f9dd9166e | [log] [tgz] |
---|---|---|
author | David Symonds <dsymonds@golang.org> | Sun Apr 19 21:17:27 2009 -0700 |
committer | David Symonds <dsymonds@golang.org> | Sun Apr 19 21:17:27 2009 -0700 |
tree | cfa851901e36a3a35b7d9ba6555c957f97308ac5 | |
parent | f1820b50ff31435f237e706edb39166c6097ada5 [diff] |
Initial cut at an "exported variables" (exvar) package. This handles integer-valued vars in a singleton struct, and exports functions for incrementing, setting and getting those vars, as well as rendering all the vars in a standard format. Demonstrate the use of the exvar package in the http/triv server. R=dcross,r APPROVED=r DELTA=122 (122 added, 0 deleted, 0 changed) OCL=27617 CL=27622