mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-11 00:37:27 +02:00
fixed godoc example typo
This commit is contained in:
1 parent
a3ac674f36
commit
8a04904de1
1 file changed
+1
-1
@@ -349,7 +349,7 @@ const DefaultMaxMemory = 16 << 20 // 16mb
|
||||
//
|
||||
// Title string `json:"title" form:"title"`
|
||||
// Total int `json:"total" form:"total"`
|
||||
// }
|
||||
// }{}
|
||||
// err := e.BindBody(&data)
|
||||
func (e *Event) BindBody(dst any) error {
|
||||
if e.Request.ContentLength == 0 {
|
||||
|
||||
Reference in new issue
Block a user