Commit Graph

24 Commits

Author SHA1 Message Date
Bo-Yi Wu
1e1e4fc867 Add Makefile to check the following thing (#947)
* Add Makefile to check the following thing.

* vet check
* fmt check
* embedmd check
* misspell check

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* remove unused variable.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-12 21:50:42 -05:00
Tevin Jeffrey
c8b35d3445 Fix for #630
Details can be found in issue #630
2016-12-05 03:58:31 -06:00
Javier Provecho Fernandez
9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Manu Mtz.-Almeida
61fae4997d Improves documentation 2016-01-26 22:40:29 +01:00
Manu Mtz-Almeida
a20984c2bc Adds comments 2015-07-02 18:42:33 +02:00
Manu Mtz-Almeida
7e7004a224 Improves errors.ByType() implementation 2015-06-12 21:34:06 +02:00
Manu Mtz-Almeida
c0383dff6b Adds IsType() helper 2015-06-12 21:33:16 +02:00
Manu Mtz-Almeida
dde06a07f0 Logger only prints internal errors 2015-06-06 17:24:16 +02:00
Manu Mtz-Almeida
835f66fdc9 404 not found performance improvements
benchmark            old ns/op     new ns/op     delta
Benchmark404         737           249           -66.21%
Benchmark404Many     2330          454           -80.52%

benchmark            old allocs     new allocs     delta
Benchmark404         3              0              -100.00%
Benchmark404Many     10             0              -100.00%

benchmark            old bytes     new bytes     delta
Benchmark404         115           68            -40.87%
Benchmark404Many     235           57            -75.74%
2015-05-30 14:45:13 +02:00
Manu Mtz-Almeida
48633f7001 Better documentation 2015-05-29 21:03:41 +02:00
Manu Mtz-Almeida
35fd7fb480 JSON flags are not longer needed. 2015-05-23 02:01:43 +02:00
Manu Mtz-Almeida
2ebb6dcb95 Using uint64 for ErrorType 2015-05-23 01:59:36 +02:00
Artem
68a7a6816c patch for #298 2015-05-23 02:19:07 +03:00
Manu Mtz-Almeida
992b00f96a Cosmetic changes 2015-05-22 19:21:35 +02:00
Manu Mtz-Almeida
4eeca21039 Errors conforms to MarshalJSON interface 2015-05-22 18:34:42 +02:00
Manu Mtz-Almeida
37b6f6c179 Fixing new errors API 2015-05-22 16:39:15 +02:00
Manu Mtz-Almeida
71bd9f4500 New JSON error facilities 2015-05-22 04:43:43 +02:00
Manu Mtz-Almeida
b7205a6ec2 Fixes new errors API. 2015-05-22 03:43:39 +02:00
Manu Mtz-Almeida
e94247f9ad New errors API!! 2015-05-22 03:25:21 +02:00
Manu Mtz-Almeida
99694bb716 Fixes errors 2015-05-12 15:22:13 +02:00
Manu Mtz-Almeida
b690611c38 Better debug logging + unit tests 2015-05-09 03:34:43 +02:00
Manu Mtz-Almeida
0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Manu Mtz-Almeida
ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida
59d949d350 Moves errorMsg to errors.go 2015-03-26 14:10:46 +01:00