fixed godoc example typo
This commit is contained in:
@@ -349,7 +349,7 @@ const DefaultMaxMemory = 16 << 20 // 16mb
|
|||||||
//
|
//
|
||||||
// Title string `json:"title" form:"title"`
|
// Title string `json:"title" form:"title"`
|
||||||
// Total int `json:"total" form:"total"`
|
// Total int `json:"total" form:"total"`
|
||||||
// }
|
// }{}
|
||||||
// err := e.BindBody(&data)
|
// err := e.BindBody(&data)
|
||||||
func (e *Event) BindBody(dst any) error {
|
func (e *Event) BindBody(dst any) error {
|
||||||
if e.Request.ContentLength == 0 {
|
if e.Request.ContentLength == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user