aboutsummaryrefslogtreecommitdiff
path: root/fs.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-10-13 13:01:41 +0300
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-10-13 13:01:51 +0300
commita98191f43560ea2ddbbf848c1c727daeed2e39ae (patch)
treebc7fb26998371d914ba7648c035bcfff55a43a67 /fs.go
parentClient, HostClient, PipelineClient: verify TLS server name (diff)
downloadfasthttp-a98191f43560ea2ddbbf848c1c727daeed2e39ae.tar.gz
fasthttp-a98191f43560ea2ddbbf848c1c727daeed2e39ae.tar.bz2
fasthttp-a98191f43560ea2ddbbf848c1c727daeed2e39ae.zip
Use standard compress/* packages instead of github.com/klauspost/compress/*
The reasons are: - @klauspost optimized standard packages in go1.7+ - This removes an external dependency from fasthttp
Diffstat (limited to 'fs.go')
-rw-r--r--fs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs.go b/fs.go
index c36073d..dc79dfc 100644
--- a/fs.go
+++ b/fs.go
@@ -2,6 +2,7 @@ package fasthttp
import (
"bytes"
+ "compress/gzip"
"errors"
"fmt"
"html"
@@ -15,8 +16,6 @@ import (
"strings"
"sync"
"time"
-
- "github.com/klauspost/compress/gzip"
)
// ServeFileBytesUncompressed returns HTTP response containing file contents