diff options
author | wppd <[email protected]> | 2019-12-25 10:34:18 +0800 |
---|---|---|
committer | wppd <[email protected]> | 2019-12-25 10:34:18 +0800 |
commit | 726e6ef17ce500d402379396367e13ec0508ace5 (patch) | |
tree | 18cfd5c9ca24bd72ef1feb151f1ca51f494bee94 /service | |
parent | 081c3708f242a491ddef9733f95f35e70f50c3e7 (diff) |
lint
Diffstat (limited to 'service')
-rw-r--r-- | service/gzip/service.go | 2 | ||||
-rw-r--r-- | service/gzip/service_test.go | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/service/gzip/service.go b/service/gzip/service.go index 4c6320ad..86069c2f 100644 --- a/service/gzip/service.go +++ b/service/gzip/service.go @@ -1,8 +1,8 @@ package gzip import ( - rrhttp "github.com/spiral/roadrunner/service/http" "github.com/NYTimes/gziphandler" + rrhttp "github.com/spiral/roadrunner/service/http" "net/http" ) diff --git a/service/gzip/service_test.go b/service/gzip/service_test.go index 6f07a1f9..9f897f53 100644 --- a/service/gzip/service_test.go +++ b/service/gzip/service_test.go @@ -15,7 +15,7 @@ import ( ) type testCfg struct { - gzip string + gzip string httpCfg string static string target string @@ -69,6 +69,7 @@ func Test_Disabled(t *testing.T) { assert.NotNil(t, s) assert.Equal(t, service.StatusInactive, st) } + // func Test_Files(t *testing.T) { // logger, _ := test.NewNullLogger() // logger.SetLevel(logrus.DebugLevel) |