Add support for int.int unix timestamps
This commit is contained in:
parent
2e7870df5d
commit
0c0edfe2b8
5 changed files with 41 additions and 4 deletions
|
@ -43,5 +43,5 @@ func (b jsonBinder) Bind(i interface{}, c echo.Context) error {
|
|||
if err == io.ErrUnexpectedEOF || err == io.EOF {
|
||||
return jsonError{`Unexpected EOF`}
|
||||
}
|
||||
return jsonError{`Unknown error occurred while parsing JSON`}
|
||||
return jsonError{`Unknown error occurred while parsing JSON. ` + err.Error()}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue