Skip to content

Conversation

@javierprovecho
Copy link
Member

@javierprovecho javierprovecho commented Apr 7, 2017

TODO:

  • Update Changelog
  • Update version constant
  • Bump version in gin.go
  • Switch import in README from gopkg.in to GitHub.com
  • Fix some tests
    • context.go#L464
    • context.go#L480
    • context.go#L598
  • ...

liudanking and others added 30 commits May 26, 2016 16:21
`reset` field should be after `method` in LoggerWithWriter function.
Make CreateTestContext public without importing net/http/httptest
Move golang.org/x/net/context.Context interface implementation check to tests
Details can be found in issue #630
Context.Get() does not need to test whether Keys is nil or not
Gin normally silently swallows errors writing to the client; however in WriteJSON (and thus context.JSON), the ResponseWriter was being passed directly into the JSON encoder, which will return an error if there's an error writing to the stream. For instance, context.JSON would panic with errors like "write tcp XXX-> YYY: write: connection reset by peer" if the client disconnected before the response was complete. This change makes JSON.Render() treat write errors the same as IndentedJSON, Data, and other renderers.
Signed-off-by: Bo-Yi Wu <[email protected]>
Support disable console color
Signed-off-by: Bo-Yi Wu <[email protected]>
Support upload single or multiple files.
* Add convenience method to check if websockets required

* Add tests

* Fix up tests for develop branch
Add comment for the logic behind func.
@javierprovecho javierprovecho changed the title WIP v1.2 v1.2 Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.