ex-tag
ex-tag
I'm really confused why this repo / package is named "mimetype", when it detects content-type, and it does not detect mimetype. Mime-type "text/plain" Content-type "text/plain; charset=utf-8" Should detect mimetype, or...
Gin gzip seems to have no support for streams. https://github.com/gin-contrib/gzip/blob/master/gzip.go Echo compress works with streams. You can see the `flush()` method being used in the code. https://github.com/labstack/echo/blob/master/middleware/compress.go
Let the developer use their own logger to Recovery middleware Before ```golang func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc { var logger *log.Logger ``` After ```golang func CustomRecoveryWithWriter(out io.Writer, logger *log.Logger,...
For those using Gin, and struggling to get `c.Stream` or `c.Writer.Flush()` working, this example will stream JSON data. ```golang // package main // import "github.com/gin-gonic/gin" func readItemList(c *gin.Context) { type...
https://echo.labstack.com/guide/ip-address/ Our privacy policy forbids the use of customer IP address detection. Any recommendation on how to disable the `IPExtractor`? ```golang router.IPExtractor = nil ``` Or... ```golang router.IPExtractor = func()...
Provide updated benchmarks for 2022. These should be provided with each release, or yearly. Would like to see benchmarks on routes (radix tree), middleware, and maybe binding. No need to...
Is there a limit parameter for PrefixSearch? What if I only want 10 results? ```golang t.PrefixSearch("foo", 10) ```
Warm colors have more red, and cool colors have more blue. Please add `isWarmColor()` and `isCoolColor()` methods. To check RGB color, code might look like... ``` red = 0 blue...