1
0
mirror of https://github.com/kataras/iris.git synced 2026-03-08 01:16:30 +00:00

New Context.PostValueMany. The PostValues method now returns a second output argument of error too

relative to: #1609
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-29 17:58:16 +03:00
parent 00684f9d2e
commit 07f07ecf6c
3 changed files with 134 additions and 55 deletions

View File

@@ -444,6 +444,13 @@ var (
//
// A shortcut for the `context#ErrEmptyForm`.
ErrEmptyForm = context.ErrEmptyForm
// ErrEmptyFormField reports whether if form value is empty.
// An alias of `context.ErrEmptyFormField`.
ErrEmptyFormField = context.ErrEmptyFormField
// ErrNotFound reports whether a key was not found, useful
// on post data, versioning feature and others.
// An alias of `context.ErrNotFound`.
ErrNotFound = context.ErrNotFound
// NewProblem returns a new Problem.
// Head over to the `Problem` type godoc for more.
//