Open ryanrw opened 11 months ago
The c.ShouldBind() is returned error type, so it would be better to understand if we provide the example that assign to err variable first before check if err is nil.
c.ShouldBind()
error
err
nil
The
c.ShouldBind()
is returnederror
type, so it would be better to understand if we provide the example that assign toerr
variable first before check iferr
isnil
.