aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Mike Faraponov <11322032+moredure@users.noreply.github.com> 2021-03-20 16:57:57 +0200
committerGravatar GitHub <noreply@github.com> 2021-03-20 15:57:57 +0100
commita5830066b63ab5b9664597a7d33ed44bd6264b31 (patch)
tree35ea2c703b9b6acb1783e4a943cf07e9f749ec78 /strings.go
parentFix unexpected panic when calling Do of a PipelineClient (#997) (diff)
downloadfasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.tar.gz
fasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.tar.bz2
fasthttp-a5830066b63ab5b9664597a7d33ed44bd6264b31.zip
Use bytes.IndexByte instead of bytes.Index for single byte lookup (#999)
* Update uri.go * Update strings.go
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/strings.go b/strings.go
index d5b030b..e244f84 100644
--- a/strings.go
+++ b/strings.go
@@ -21,7 +21,6 @@ var (
strColonSlashSlash = []byte("://")
strColonSpace = []byte(": ")
strGMT = []byte("GMT")
- strAt = []byte("@")
strResponseContinue = []byte("HTTP/1.1 100 Continue\r\n\r\n")