fixed comments and added default generic arg name

This commit is contained in:
Gani Georgiev
2024-10-14 14:32:52 +03:00
parent 56b756e16b
commit 47d5ea3ce2
8 changed files with 41 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ type GzipConfig struct {
MinLength int
}
// Gzip returns a middleware which compresses HTTP response using gzip compression scheme.
// Gzip returns a middleware which compresses HTTP response using Gzip compression scheme.
func Gzip() func(*core.RequestEvent) error {
return GzipWithConfig(GzipConfig{})
}