Compare commits

...

1 commit
v0.1.1 ... main

Author SHA1 Message Date
05a4d62360 remove dead code from example
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-17 19:08:08 +01:00

View file

@ -8,10 +8,6 @@ import (
func main() { func main() {
router := gin.Default() router := gin.Default()
options := ginzip.DefaultOptions()
options.BrotliLevel = ""
options.GzipLevel = ""
ui := router.Group("/", ginzip.New(ginzip.DefaultOptions())) ui := router.Group("/", ginzip.New(ginzip.DefaultOptions()))
ui.GET("/", getTestHandler("Hello World (should be compressed)")) ui.GET("/", getTestHandler("Hello World (should be compressed)"))