From 05a4d6236070960d511efe96991d25d6ce1af5eb Mon Sep 17 00:00:00 2001 From: Theta-Dev Date: Fri, 17 Dec 2021 19:08:08 +0100 Subject: [PATCH] remove dead code from example --- example/main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/example/main.go b/example/main.go index dcd7962..8e2a2f4 100644 --- a/example/main.go +++ b/example/main.go @@ -8,10 +8,6 @@ import ( func main() { router := gin.Default() - options := ginzip.DefaultOptions() - options.BrotliLevel = "" - options.GzipLevel = "" - ui := router.Group("/", ginzip.New(ginzip.DefaultOptions())) ui.GET("/", getTestHandler("Hello World (should be compressed)"))