mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 15:27: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"`
|
// 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