Hi, is there any alternative to add below statement?
r.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{"/admin/", "/monitor/"})))
Since today, when I am trying to build, below issues occurred:
Unable to fetch through dep ensure for master branch, getting below error:
Solving failure: No versions of github.com/gin-contrib/gzip met constraints:
v0.0.1: Could not introduce github.com/gin-contrib/gzip@v0.0.1, as it is not allowed by constraint master from project dailyhunt.in/ugc/groups-service.
master: unable to update checked out version: fatal: reference is not a tree: 4b4a6f08e9f0d72c90f9947deaa1cb1ef17c39d6
: command failed: [git checkout 4b4a6f08e9f0d72c90f9947deaa1cb1ef17c39d6]: exit status 128
After resolving through go get, got below compilation error:
r.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{"/admin/", "/monitor/"})))
too many arguments in call to gzip.Gzip
undefined: gzip.WithExcludedPaths
Hi, is there any alternative to add below statement? r.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{"/admin/", "/monitor/"})))
Since today, when I am trying to build, below issues occurred:
Unable to fetch through
dep ensure
for master branch, getting below error: Solving failure: No versions of github.com/gin-contrib/gzip met constraints: v0.0.1: Could not introduce github.com/gin-contrib/gzip@v0.0.1, as it is not allowed by constraint master from project dailyhunt.in/ugc/groups-service. master: unable to update checked out version: fatal: reference is not a tree: 4b4a6f08e9f0d72c90f9947deaa1cb1ef17c39d6 : command failed: [git checkout 4b4a6f08e9f0d72c90f9947deaa1cb1ef17c39d6]: exit status 128After resolving through go get, got below compilation error: r.Use(gzip.Gzip(gzip.DefaultCompression, gzip.WithExcludedPaths([]string{"/admin/", "/monitor/"})))
too many arguments in call to gzip.Gzip undefined: gzip.WithExcludedPaths