mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
gofmt
Former-commit-id: 75992b3aeae2228a7a7f0e698ce78b2f323cc33a
This commit is contained in:
2
cache/entry/entry.go
vendored
2
cache/entry/entry.go
vendored
@@ -115,7 +115,7 @@ func (e *Entry) Reset(statusCode int, headers map[string][]string,
|
||||
e.response.headers = newHeaders
|
||||
}
|
||||
|
||||
e.response.body = make([]byte,len(body))
|
||||
e.response.body = make([]byte, len(body))
|
||||
copy(e.response.body, body)
|
||||
// check if a given life changer provided
|
||||
// and if it does then execute the change life time
|
||||
|
||||
Reference in New Issue
Block a user