Commit Graph

20 Commits

Author SHA1 Message Date
Kirill Motkov b1d607a899 Some code improvements (#1909)
* strings.ToLower comparison changed to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-05-21 23:08:52 +08:00
田欧 a210eea3bd
improve panic information when a catch-all wildcard conflict occurs (#1529) 2018-09-21 10:21:59 +08:00
Aurelien Regat-Barrel 6e09ef03b0 Fix typo in panic() message (extra single quote) (#1352)
Also fix the same typo in a comment
2018-05-11 09:57:21 +08:00
Boris Borshevsky 6f94fd05c9 Linting and optimizing struct memory signature. (#1184)
* fix cleanPath spell (#969)

* linter and optimize structs
2017-11-29 10:50:14 +08:00
田欧 a8fa424ae5 update comment (#1057) 2017-08-16 11:55:50 +08:00
田欧 b985857899 update func comment (#981) 2017-07-05 20:28:16 -05:00
田欧 7d043cedb1 improved swap (#974) 2017-07-04 20:55:50 -05:00
Javier Provecho Fernandez 80942e67a8 docs(license): add julienschmidt/httprouter license URL 2017-06-27 22:58:49 +02:00
Javier Provecho Fernandez 3b8150c83c Revert "unify license (#942)"
This reverts commit 53799774f4.
2017-06-27 22:54:42 +02:00
田欧 6dac8c8a48 delete else keyword (#948) 2017-06-12 22:36:05 -05:00
田欧 53799774f4 unify license (#942) 2017-06-12 04:01:09 -05:00
Sergey Egorov b1872ec369 The url.RawPath used when engine.UseRawPath is set to true. (#810) 2017-02-28 18:29:41 +08:00
Javier Provecho Fernandez 9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Manu Mtz.-Almeida 20825e7694 Updates tree.go from httpRouter 2016-01-28 00:14:26 +01:00
Manu Mtz-Almeida 66e9feb622 Optimizes tree lookup 2015-05-29 21:03:28 +02:00
Manu Mtz-Almeida e899d8a99e Code cleanup + documentation 2015-05-28 03:22:34 +02:00
Manu Mtz-Almeida eb3e9293ed Renames []HandleFunc to HandlersChain 2015-05-07 11:30:01 +02:00
Manu Mtz-Almeida f212ae7728 Updates tree.go + fixes + unit tests 2015-05-05 16:37:33 +02:00
Manu Mtz-Almeida 1f6304ca25 Cleaning up performance branch 2015-04-07 12:22:38 +02:00
Manu Mtz-Almeida 2915fa0ffe Zero allocation router, first commit 2015-03-31 21:39:06 +02:00