go-fuego / fuego

Golang Fuego - web framework generating OpenAPI 3 spec from source code
https://go-fuego.github.io/fuego/
MIT License
918 stars 46 forks source link

Correctly log status code #181

Closed MaikelH closed 2 months ago

MaikelH commented 2 months ago

Closes #180

Call the StatusCode function instead of passing it as a pointer.

EwenQuim commented 2 months ago

Thanks ! I'll add a test another PR, it's not normal that we have this behaviour passing our test suite.

We didn't have log testing at the time of writing this code, now it's ok