Juan Calderon-Perez
47be68142a
🧹 chore: Add parallel benchmark for Next() ( #3259 )
...
* Add parallel benchmark for Next()
* Create RequestCtx outside loop
2024-12-21 10:51:16 +01:00
Juan Calderon-Perez
c9ff17d796
🧹 chore: Update dependencies ( #3254 )
...
* Update v2 dependencies
* Try fasthttp v1.55.0
* Try fasthttp v1.54.0
* Try fasthttp v1.53.0
* Try fasthttp v1.52.0
* Try fasthttp v1.51.0
* Add Makefile
* Bump msgp to v1.2.5
2024-12-18 15:40:07 +01:00
René Werner
1512997235
improve not found error
2023-08-27 12:35:30 +02:00
leonklingele
ac4ce21d9c
🐛 Bug: Fix issues introduced in linting PR ( #2319 )
...
* internal: revert linting changes
Changes to the internal package should not have been made in 167a8b5e94
.
* middleware/monitor: revert changes to exported field "ChartJSURL"
This is a breaking change introduced in 167a8b5e94
.
* middleware/monitor: fix error checking
Fix the errorenous error checking introduced in 167a8b5e94
.
* 🐛 Bug: Fix issues introduced in linting PR #2319
* 🐛 Bug: Fix issues introduced in linting PR #2319
* Bug: Fix issues introduced in linting PR #2319
---------
Co-authored-by: René Werner <rene@gofiber.io>
2023-02-02 15:57:40 +01:00
leonklingele
167a8b5e94
🚀 Feature: Add and apply more stricter golangci-lint linting rules ( #2286 )
...
* golangci-lint: add and apply more stricter linting rules
* github: drop security workflow now that we use gosec linter inside golangci-lint
* github: use official golangci-lint CI linter
* Add editorconfig and gitattributes file
2023-01-27 09:01:37 +01:00
M. Efe Çetin
5406560033
🧹 chore: make most tests parallel ( #2299 )
...
* 🧹 chore: make most tests parallel
* revert some tests
* revert some tests
* revert some tests
2023-01-15 23:21:37 +08:00
M. Efe Çetin
581af0052d
🐛 bug: fix naming of routes inside groups ( #2199 )
...
* 🐛 bug: fix naming of routes inside groups
* fix tests
* bug: fix naming of routes inside groups
Co-authored-by: René Werner <rene@gofiber.io>
2022-11-09 16:03:16 +01:00
M. Efe Çetin
691d2e6ad5
🗑️ deprecate: go 1.14 & go 1.15 support deprecation ( #2172 )
...
* 🗑️ deprecate: go 1.14 & go 1.15 support deprecation
https://github.com/valyala/fasthttp/pull/1379
* fix tests
2022-10-26 11:51:50 +02:00
Serhat Şevki Dinçer
870f9427a2
⚡ Optimize App.buildTree() ( #1809 )
...
* ⚡ Optimize App.buildTree()
- Reduces reads from / writes to slices
- Reduces reads from maps
- Increases sorting speed
* ⌚ Add Benchmark_Startup_Process()
2022-03-07 19:01:30 +01:00
Gusted
7b7dcf29f7
♻️ Tidy up the codebase ( #1613 )
...
* run gofmt
* add t.Helper()
* Simplify assigns
* Simplify make operation
* Remove unused field in struct
* Fix typo
* Run gofumpt ./
* Consistent spacing
* len(...) can never be negative
* Use ReplaceAll
* Simplify operation
* Remove deadcode
* Fix typo
* Tidy up `} else { if ...`
* Fix AssertEqual
* Remove t.Helper() to fix go1.14.15
2021-11-05 08:00:03 +01:00
Fufu
2c6ffb7972
Fix: register static file routing with trailing slash ( #1556 )
2021-10-05 10:55:11 +02:00
Fufu
b94870d886
Fix: static file routing path rewrite. ( #1538 )
...
* Fix: static file routing path rewrite.
* Add: static file routing test cases.
* Update: change os.CreateTemp to ioutil.TempFile for go1.14
* Update: optimize test cases.
2021-10-01 12:51:48 +02:00
RW
34520e75f8
Fix - 🐛 The escape of special characters in route path does not work properly #1454 ( #1462 )
...
* Fix - 🐛 The escape of special characters in route path does not work properly #1454
2021-07-30 20:39:10 +02:00
Diego Sandrim
0dc67e80d2
Moves .getBytes and .getString from package variable to App instance variable, avoiding data race when creating a new App.
2021-05-05 17:24:26 -03:00
ReneWerner87
42755c30e6
⚡ Accelerate start process for many routes #1081
2021-01-24 13:02:21 +01:00
kiyon
d0e828dbf5
🍀 Improve test coverage
2020-10-24 16:24:48 +08:00
kiyon
4c89377631
🩹 Fix #945
2020-10-21 14:50:33 +08:00
Fenny
9fd68c62b0
✏ update comments
2020-09-29 21:49:50 +02:00
Fenny
b96cbff310
Merge pull request #774 from Fenny/master
...
👂 uncomment internal benchmarks
2020-09-14 12:15:24 +02:00
Fenny
2768ea2a77
🙌 make utils public
...
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
ReneWerner87
9923caff8a
🪓 Code separation for utils ( 🧹 clean code)
...
Co-authored-by: Fenny <fenny@gofiber.io>
Co-authored-by: Kiyon <kiyon@gofiber.io>
2020-09-14 10:48:01 +02:00
Fenny
a3cac71ae8
🔦 move utils to internal
2020-09-14 09:09:06 +02:00
Fenny
ec5d66e7a8
⚡ v2
2020-09-13 11:20:11 +02:00
ReneWerner87
ad7f4df9a7
🦟 Fix star routes
2020-09-02 20:59:42 +02:00
ReneWerner87
df3c48a734
🌵 hybrid routing with tree and fast router
2020-08-10 10:51:38 +02:00
ReneWerner87
e802c41f41
Merge branch 'hybrid_routing' into improve_route_behavior
2020-08-10 10:14:31 +02:00
ReneWerner87
945b61d1c3
🌵 hybrid routing with tree and fast router
2020-08-09 21:53:15 +02:00
ReneWerner87
b8ca4c9b8a
🚀 improve routing behavior
2020-08-07 21:42:53 +02:00
wernerr
b29182db31
🚀 compress same route's handler
2020-07-20 19:34:44 +02:00
wernerr
b9bdc0d4a8
🚀 compress same route's handler
2020-07-20 19:29:54 +02:00
wernerr
baf44ff05e
Merge remote-tracking branch 'origin/app-routes' into app-routes
2020-07-20 18:26:09 +02:00
kiyon
91f8cc891c
🚀 compress same route's handler and sort routes when registering
2020-07-20 23:14:51 +08:00
kiyon
174eb0e33d
🚀 compress same route's handler and sort routes when registering
2020-07-20 21:43:01 +08:00
Fenny
ca1bd29359
🧪 Add TLS Tests
2020-07-15 18:50:28 +02:00
Fenny
da85c85c14
🧪 Increase test coverage: 96%
2020-07-15 17:43:30 +02:00
kiyon
75be864c12
👍 improve router test coverage
2020-07-15 10:37:25 +08:00
Fenny
964f3c59ae
🔨 Make Params available in Route
2020-07-05 11:17:42 +02:00
ReneWerner87
d57651835b
improve routing performance
2020-06-29 22:51:41 +02:00
ReneWerner87
eb0b365111
🚀 Added possibility to work with urlencoded special characters in the route
2020-06-25 15:25:16 +02:00
ReneWerner87
cf4836c606
🚀 Added possibility to work with urlencoded special characters in the route
2020-06-25 08:44:29 +02:00
Fenny
578e566475
Add 405 Support
2020-06-21 12:17:22 +02:00
Fenny
4102262dd7
Add benchmark
2020-06-21 11:11:45 +02:00
kiyon
3b513cd8b0
add test case for ensuring router interface implementation
2020-06-17 22:57:58 +08:00
Fenny
fbea5211d0
goreportcard fix
2020-06-08 02:55:19 +02:00
wernerr
832d952b5f
swap out the test routes into a json file
2020-06-07 15:42:55 +02:00
Fenny
1d16f99438
Update comment
2020-06-03 00:02:26 +02:00
Fenny
f9c08818ed
Return 404 if Next does not match
2020-06-01 13:36:51 +02:00
Fenny
a58bc02eca
Update benchmarks
2020-06-01 12:05:02 +02:00
Fenny
5c5afa88ae
Add 404 Benchmark
2020-06-01 11:54:23 +02:00
Fenny
d940948112
Update variable name
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-27 22:54:20 +02:00