You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
read _examples\mvc\error-handler-preflight\main.go code, there is response.Timestamp in response object, but it not appear in the response when I call "http://lcoalhost:8080/1"
I think the field of timestamp should appear in returns when response.ID > 0, otherwise this is a meaningless field。
To Reproduce
cd _examples/mvc/error-handler-preflight
go run main.go
curl --location --request GET 'http://127.0.0.1:8080/1'
Describe the bug
read
_examples\mvc\error-handler-preflight\main.go
code, there isresponse.Timestamp
inresponse
object, but it not appear in the response when I call "http://lcoalhost:8080/1"I think the field of
timestamp
should appear in returns whenresponse.ID > 0
, otherwise this is a meaningless field。To Reproduce
Expected behavior
Desktop (please complete the following information):
iris.Version
The text was updated successfully, but these errors were encountered: