mirror of https://github.com/gofiber/fiber.git
* Fix nil pointer dereference with Must Bind binding error if err is nil err.Error() panics (eg. c.Bind().Must().JSON(...) successfully binds but panics * Added returnErr test make sure returnErr works with nil error * Reordered returnErr nil check as in majority of cases we expect err to be nil, this should provide better short-cutting * Use require.NoError * Update bind_test.go * Renamed Must to WithAutoHandling * Update bind.md Added a requested clarification * renamed Should to WithoutAutoHandling and Bind.should to Bind.dontHandle * renamed dontHandle to dontHandleErrs * fixed formatting * fixed a typo * Update binder documentation --------- Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> |
||
---|---|---|
.. | ||
_category_.json | ||
app.md | ||
bind.md | ||
constants.md | ||
ctx.md | ||
fiber.md | ||
hooks.md | ||
log.md | ||
redirect.md |