nickajacks1
4c68e0242d
ci: address multiple lint rules ( #2869 )
...
* ci: explicitly disable tagalign
Tagalign requires awkward manual formatting and doesn't provide much
value for readability.
* ci: enable mirror linter
mirror warns against certain cases of useless conversion between string
and []byte.
* ci: enable perfsprint linter
This linter encourages replacing several functions from the fmt package
with faster alternatives. While fixing issues, I also added a few
exported error types rather than returning a naked errors.New().
2024-02-19 14:33:10 +01:00
Nicholas Jackson
059c0e33ed
🎨 Style: Clean up errcheck config
...
Globally ignore several methods that always return nil error.
Disable revive and gosec rules for error checking in favor of errcheck.
2024-02-09 12:23:59 -08:00
Muhammed Efe Cetin
44acb06c02
🧹 v3 (chore): fix linter warnings
2023-08-05 22:25:21 +03:00
Muhammed Efe Çetin
41866cd3dd
👷 v3 (ci): fix some linter warnings
2023-03-06 17:35:39 +03:00
Muhammed Efe Çetin
3168a60605
👷 v3 (ci): fix some linter warnings
2023-02-09 23:15:21 +03:00
Muhammed Efe Çetin
c2749c36c2
👷 v3 (ci): fix some linter warnings
2023-02-09 22:33:45 +03:00
Kris Carr
f26d9b1d4e
v3 (deps): update to use gofiber/utils/v2 ( #2184 )
2022-10-31 16:44:53 +03:00
Muhammed Efe Çetin
ca6f25a890
➕ v3 (deps): move `utils` to ` https://github.com/gofiber/utils `
2022-09-23 21:19:44 +03:00
M. Efe Çetin
10d6f69a89
✨ v3 (feature): new redirection methods ( #2014 )
...
* ✨ v3 (feature): new redirection methods
* add flash messages
* withinput, parsing flash message
* add tests
* add benchmarks
* gosec issues
* fix tests
* fix tests
* fix performance issues
* fix performance issues
* optimization.
* better names
* fix tests
* Update router.go
* fix
* fix old messaages with flash messages behavior, add new test case with req
* complete some reviews
* add pool for redirection.
* use constant
* update
* ✨ v3 (feature): new redirection methods
* fix tests, optimize cookie parsing (9 allocs -> 1 alloc)
* test case for message includes comma
* cleanup
* optimization.
* some improvements for the redirect feature
* fix Benchmark_Redirect_Route_WithFlashMessages
* some improvements for the redirect feature
* Update redirect.go
* improve message parsing & test case
Co-authored-by: René Werner <rene@gofiber.io>
2022-09-23 08:17:34 +02:00