fix: typo

This commit is contained in:
jincheng9 2021-12-28 22:54:20 +08:00
parent d062a6a615
commit 3d56a4ce7f

View File

@ -843,7 +843,7 @@ func (c *Context) GetHeader(key string) string {
return c.requestHeader(key) return c.requestHeader(key)
} }
// GetRawData return stream data. // GetRawData returns stream data.
func (c *Context) GetRawData() ([]byte, error) { func (c *Context) GetRawData() ([]byte, error) {
return ioutil.ReadAll(c.Request.Body) return ioutil.ReadAll(c.Request.Body)
} }