Commit Graph

26 Commits (v2)

Author SHA1 Message Date
Tiago Peczenyj 0d3354675b
Fix loop variable captured by func literal (#2660)
* fix loop variable xxx captured by func literal

* fix middleware/pprof tests
2023-10-05 13:49:57 +02:00
Muhammed Efe Çetin 15e9235383
📝 docs: remove README.mds from middleware dirs 2023-03-06 16:42:35 +03: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 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
hi019 bc7b240158 improve mw 2020-11-21 12:36:16 -05:00
hi019 52ec20c3b4 do basicauth, cache and compress 2020-11-21 12:23:35 -05:00
Fenny 8bd50de610 🧹 housekeeping 2020-11-11 13:54:27 +01:00
Joey B 4dd33f158e
Merge pull request #962 from sbielenica/adjust-compression-test
🚨 Add missing header and compression result assertion in different compression levels test
2020-10-25 16:26:55 -07:00
Szymon Bielenica 56283b8afd 🎨 Adjust multiple comments to comply with the linter 2020-10-25 12:23:10 +01:00
Szymon Bielenica 552f5a99cc 🚨 Add missing header and compression result assertion in different compression levels test 2020-10-25 12:04:53 +01:00
Konstantinos Lypitkas 550d3a3549 Fix grammatical issues 2020-10-08 10:56:25 +03:00
Konstantinos Lypitkas 60cebf2506 Add custom types to compress middleware 2020-10-08 00:05:34 +03:00
Roman 6e72025b6c ♻️ compression: avoid magic numbers in compression level check
Avoid the magic numbers to make it easier to read
2020-10-07 09:56:27 +02:00
kiyon e6a14a879a 📚 fix typo 2020-09-28 13:12:54 +08:00
Vasanth Kumar 0f85d566a0
🎨 : Updated navigation for the examples 2020-09-19 09:53:30 +05:30
kiyon 616ff8f532 👷 remove unnecessary fiber app config 2020-09-17 13:41:06 +08:00
Fenny ebe107d54f 📘 add csrf readme 2020-09-16 15:36:33 +02:00
kiyon 531d06094f 👷 add compress different level test case 2020-09-16 16:50:13 +08:00
kiyon d9d0118881 👷 increase Test_Compress_Brotli request timeout 2020-09-16 15:22:04 +08:00
kiyon 3ab65a3dbf 👷 improve compress mw test cases 2020-09-16 09:48:59 +08:00
kiyon e13411e184 👷 improve mw test cases
add Next test case
2020-09-16 09:44:05 +08:00
Fenny 2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +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