1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

add HashGenerator on requestid middleware

Former-commit-id: 8f59a46a3fecc538d6d3e624fc36f2c314c20bb6
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-07-15 11:18:40 +03:00
parent 4f1af5d135
commit 38eec57e46
6 changed files with 36 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ func postExample() {
if err != nil {
panic(err)
}
defer cr.Close() // Closes the request body too.
defer cr.Close()
body, err := ioutil.ReadAll(cr)
if err != nil {