Commit Graph

28 Commits

Author SHA1 Message Date
Dave Collins bae5ef75ff Update doc.go/README.md with new config options. 2016-10-29 15:03:44 -05:00
Dave Collins 6d212800a4 Deprecate "disableunsafe" tag in favor of "safe".
This adds a new build tag named "safe" which serves the exact same
purpose as the current "disableunsafe" tag.  This is being done, as
recommended by @shurcooL, since it is emerging as the standard way to do
it in several high profile packages, it mirrors the "unsafe" package
nicely, it is shorter, and users generally seem to prefer it.

However, to avoid breaking existing infrastructure, the disableunsafe
tag is still available and simply is being deprecated.
2016-09-07 12:06:01 -05:00
anatoly techtonik 3838b6852d Link missing blog post to web archive (fixes #46 and #41) 2016-09-02 21:58:02 +03:00
Dave Collins 2df174808e Add support for limited mode without unsafe pkg.
This commit adds support for compiling spew without the unsafe package.
When compiled without the unsafe package, some of the more advanced
features such as invoking stringers on pointers from non-pointer
variables and unexported struct fields are not available.

By default, spew will be compiled in the limited mode for Google App
Engine since the unsafe package is not available there.  Additionally,
spew can be compiled without the unsafe package manually by specifying
the "disableunsafe" build tag.

Finally, a new package-level constant named "UnsafeDisabled" has been
exposed which can be used to programmatically determine if spew was
compiled with access to the unsafe package.
2015-06-19 15:29:34 -05:00
Jason Buberel f9f629a1d0 Provide an example on how to debug a web app.
Update README.md

Removing extra line.
2015-05-25 14:24:11 -07:00
Brian Dorsey a6eef0c3a9 Removed spurious "spew". 2015-05-17 16:54:58 -07:00
Brian Dorsey c15d848066 Add import line to README.md quickstart 2015-05-03 18:18:55 -07:00
Tim Hockin 3e6e67c4dc Enable methods to sort map keys and spew itself as last resort
If enabled by flags, try to use methods to stringify map keys and sort on that.

If we can't use primitive sorting and we can't use methods, we can still fall
back on spew itself.  If SpewKeys is enabled, use Sprintf("%#v") to generate a
string and sort by that.
2015-04-10 08:46:42 -07:00
Dave Collins fc32781af5 Add -u to the README installation instructions.
This will allow the command to update the package if an old one happens to
be present while still fetching it if it's missing.

Suggested by @shurcooL in #28.
2015-02-23 15:20:11 -06:00
Dave Collins 9ed19f9b0c Point test coverage badge at master branch. 2014-03-27 05:31:30 -05:00
Dave Collins 4451e342b3 Add coveralls.io test coverage badge. 2014-03-27 05:20:20 -05:00
Dave Collins e762b3d132 Make build status badge only apply to master branch. 2013-11-16 22:24:52 -06:00
Dave Collins 7b68a4a09a Add TravisCI build status badge to README.md. 2013-11-16 21:44:48 -06:00
Dave Collins b5585b0bfd Add godoc reference badge to README.md. 2013-11-16 16:10:27 -06:00
Dave Collins 550ce83cb9 Update README and doc.go with new SortKeys option. 2013-11-16 16:05:42 -06:00
Dave Collins ff59042e2e Update README.md 2013-03-11 18:40:54 -05:00
Dave Collins 096da7a702 Update docs for new byte array and slice behavior. 2013-03-08 22:45:02 -06:00
Dave Collins 534ad78b7e Update README.md
Include byte slice hexdump output in sample dump output.
2013-03-08 22:29:03 -06:00
Dave Collins 9dfc238865 Cleanup documentation on new ContinueOnMethod code.
This commit expands on TShadwell's work attached to issue #8.  It
rounds out the documentation for the new option.
2013-03-03 12:59:13 -06:00
Dave Collins e183fe2f19 Update README.md 2013-02-02 19:57:10 -06:00
Dave Collins 5cb4f84194 Update README.md 2013-01-20 22:39:13 -06:00
Dave Collins c2fe715681 Update README.md 2013-01-19 19:21:03 -06:00
Dave Collins 596fe65916 Update README.md 2013-01-17 19:17:58 -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 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 d9f15c7ff8 Initial commit 2013-01-08 21:18:23 -08:00