43 Commits

Author SHA1 Message Date
Dave Cheney
3612ec480e Remove the errors.e type (#11)
* rename loc type to location

* move locationer interface inside Fprint, rename to location

* refactor Wrap/Wrapf into helper method

* remove errors.e type, compose an anon struct in wrap and add a Message() interface method to extract the cause message
2016-04-26 12:25:34 +10:00
Dave Cheney
f85d45fecf Merge pull request #7 from umairidris/wrapf
Add Wrapf
v0.2.0
2016-04-25 13:42:03 +09:00
Umair Idris
9a179122f1 Add Wrapf 2016-04-25 00:31:25 -04:00
Dave Cheney
c86dfceef5 Merge pull request #9 from ChrisHines/location-path-fix
Infer compile time GOPATH from fn.Name().
2016-04-25 10:41:41 +09:00
Chris Hines
046fc1474d Updates from code review. 2016-04-24 21:36:07 -04:00
Chris Hines
665006faab Infer compile time GOPATH from fn.Name(). 2016-04-24 20:49:56 -04:00
Dave Cheney
ab94cc2ab2 fix loc.Location, re-enable tip 2016-04-25 07:42:30 +09:00
Dave Cheney
346b85b84a updated README 2016-04-25 07:39:22 +09:00
Dave Cheney
1ada8c027c Merge pull request #3 from msoap/patch-1
Updated badge for godoc
2016-04-25 07:31:36 +09:00
Dave Cheney
326f4a44f3 Merge pull request #5 from umairidris/master
gofmt and typo fix
2016-04-25 07:30:45 +09:00
Umair Idris
c94cbcebe9 gofmt and typo fix 2016-04-24 15:34:22 -04:00
Sergey Mudrik
44b1da7f05 Updated badge for godoc
Changed to SVG format, this useful for HiDPI displays.
2016-04-24 20:51:26 +03:00
Dave Cheney
d363daa49f add go report card v0.1.0 2016-04-24 21:18:34 +09:00
Dave Cheney
1c843d4ac5 spelling 2016-04-24 20:57:12 +09:00
Dave Cheney
bca5e1997f readme 2016-04-24 20:55:50 +09:00
Dave Cheney
326e08fb88 godoc 2016-04-24 20:53:36 +09:00
Dave Cheney
d20a8b856c update readme 2016-04-24 20:35:34 +09:00
Dave Cheney
4a91b9e367 Merge pull request #2 from enisoc/format-string
Don't pass arbitrary strings as Errorf() format strings.
2016-04-24 16:25:53 +09:00
Anthony Yeh
44b2f1e7ac Don't pass arbitrary strings as Errorf() format strings.
Sometimes they happen to contain format specifiers, which results in
things like "%!v(MISSING)".
2016-04-24 00:08:22 -07:00
Dave Cheney
92a59f4973 Update Readme 2016-04-23 15:18:03 +09:00
Dave Cheney
bb658ea0e4 Update readne 2016-04-23 15:17:21 +09:00
Dave Cheney
9eacf05e26 update package doc 2016-04-23 14:27:48 +09:00
Dave Cheney
a15b27b2bf fix second errors.New example 2016-04-22 20:15:46 +09:00
Dave Cheney
109ee590a8 simplify pc 2016-04-22 19:32:12 +09:00
Dave Cheney
258d1265c4 skip tests on tip 2016-04-22 19:19:39 +09:00
Dave Cheney
8f9a2e151e update travis.yml 2016-04-22 19:16:52 +09:00
Dave Cheney
4df5f1c4b6 added example, fixed tests 2016-04-22 19:13:47 +09:00
Dave Cheney
a7f2be0bfe added godoc 2016-04-22 19:10:04 +09:00
Dave Cheney
e41b26de11 added travis CI badge 2016-04-22 17:47:37 +09:00
Dave Cheney
f5db181ac2 more examples 2016-04-22 17:46:16 +09:00
Dave Cheney
b402999421 more examples 2016-04-22 17:40:16 +09:00
Dave Cheney
63e2913f1c update godoc badge 2016-04-22 17:35:34 +09:00
Dave Cheney
177e87f548 update godoc badge 2016-04-22 17:34:11 +09:00
Dave Cheney
f6f0c4894d Create README.md 2016-04-22 17:33:34 +09:00
Dave Cheney
5a0856ff23 fixed tests, add coverage for Wrap and Fprintf 2016-04-22 17:27:54 +09:00
Dave Cheney
c978824ef0 wip 2016-04-20 13:14:31 +09:00
Dave Cheney
7b7bdcfe0a Remove New, replace with Wrap. 2016-03-28 13:44:17 +11:00
Dave Cheney
105e86fc3b fixing layout to make Andy happy 2015-12-27 16:12:56 +01:00
Dave Cheney
9c1c579e61 remove causer 2015-12-27 15:58:27 +01:00
Dave Cheney
4dd713cae9 Added cause interface trait 2015-12-27 15:45:25 +01:00
Dave Cheney
ee5ece78bc add .travis.yml 2015-12-27 15:20:51 +01:00
Dave Cheney
1e412a1049 Added New and Cause methods. 2015-12-27 15:19:49 +01:00
Dave Cheney
45e9319080 Initial commit 2015-12-27 13:05:38 +01:00