Commit Graph

65 Commits

Author SHA1 Message Date
Dave Collins bd6dd81322 Use writer directly in formatter.
Write directly to the fmt.State output writer to avoid the overhead
of a buffer in the formatter code.
2013-01-14 00:23:18 -06:00
Dave Collins 638b62b9f5 Fix a few comment typos and improve consistency. 2013-01-13 00:17:58 -06:00
Dave Collins e892c84d38 Add tests for non-interface nil pointers.
These tests are a slight adaptation of tests provided by
kortschak@ in issue #4.  Credits go to him.
2013-01-12 23:36:46 -06:00
Dave Collins 389ea44d6a Fix incorrect type display on nil pointers.
This was reported by korschak as issue #4 who also pinpointed the issue
and provided a patch.
2013-01-12 23:30:04 -06:00
Dave Collins a2ceabae67 Minor code cleanup in dump_test.go. 2013-01-12 23:24:56 -06:00
Dave Collins 1dd6d991eb Update ConfigState documentation.
There is now support for concurrent configuration through the use of
SpewState instances.  Update the documenation to properly reflect this.
2013-01-12 12:35:23 -06:00
Dave Collins 034a2a5a5e Implement support for unqiue config instances.
This commit adds a new type, SpewState, which can be used to create
instances with unique configuration options.  The methods of SpewState are
equivalent to the top-level functions.  Full documentation and examples
are included.
2013-01-12 12:06:59 -06:00
Dave Collins 40eb25a95d Update README.md 2013-01-10 20:59:09 -06:00
Dave Collins f9d7671844 Update README.md 2013-01-10 20:56:26 -06:00
Dave Collins 184d118062 Add config pointers to format and dump states.
This paves the way to support individual configuration options through a
separate type while still providing the simple global config and package
level methods.
2013-01-10 20:39:05 -06:00
Dave Collins 04998fcda3 Fix a couple of comment typos. 2013-01-10 15:43:40 -06:00
Dave Collins f83c452899 Update README.md 2013-01-08 23:55:23 -06:00
Dave Collins 948e031645 Update README.md 2013-01-08 23:51:09 -06:00
Dave Collins 1a599b7b25 Initial implementation. 2013-01-08 23:38:16 -06:00
Dave Collins d9f15c7ff8 Initial commit 2013-01-08 21:18:23 -08:00