mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 20:00:39 +00:00
add golint check and fix all golints
This commit is contained in:
@ -39,6 +39,7 @@ var (
|
||||
getMethodOnly bool
|
||||
)
|
||||
|
||||
// InitGzip init the gzipcompress
|
||||
func InitGzip(minLength, compressLevel int, methods []string) {
|
||||
if minLength >= 0 {
|
||||
gzipMinLength = minLength
|
||||
|
Reference in New Issue
Block a user