Commit Graph

762 Commits

Author SHA1 Message Date
Javier Provecho Fernandez fabe3df785 Revert "Revert "Merge pull request #744 from aviddiviner/logger-fix""
This reverts commit 19f271c86b.
2016-12-03 22:11:24 +01:00
Javier Provecho Fernandez 19f271c86b Revert "Merge pull request #744 from aviddiviner/logger-fix"
This reverts commit c3bfd69303, reversing
changes made to 9177f01c28.
2016-12-03 22:03:39 +01:00
Bo-Yi Wu 6f474cb42d Merge pull request #570 from andreynering/array
Implement QueryArray and PostFormArray methods
2016-12-03 08:12:19 +08:00
Bo-Yi Wu c3bfd69303 Merge pull request #744 from aviddiviner/logger-fix
Logger: skip ANSI color commands if output is not a tty
2016-12-01 06:20:24 +08:00
David Irvine 70ada0c7b6 Logger: skip ANSI color commands if output is not a tty 2016-11-18 06:40:48 -05:00
Pablo Moncada 9177f01c28 Changed imports to gopkg instead of github in README (#733)
* Add contribution guide

* Update go get for stable version

In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.

* Changed imports to gopkg instead of github in README

* Update README.md
2016-11-08 18:38:28 +01:00
Javier Provecho Fernandez 3ad4c714a7 Add codecov.yml Gitter webhook 2016-10-28 21:41:18 +02:00
Javier Provecho Fernandez 9d9fd08859 Update TravisCI to Gitter webhook 2016-10-28 21:31:58 +02:00
Javier Provecho Fernandez 233cd41822 Merge pull request #728 from gin-gonic/coveralls
Remove Coveralls
2016-10-28 21:29:00 +02:00
Bo-Yi Wu 504b119742 remove coveralls services.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-28 23:18:24 +08:00
Bo-Yi Wu e435c347b1 Merge pull request #727 from mehdy/develop
corrected a typo in README
2016-10-28 22:28:13 +08:00
mehdy 5c3c9c4f8c corrected a typo in README 2016-10-28 17:32:10 +03:30
Javier Provecho Fernandez eadf4da8f6 Add codecov.io 2016-10-19 11:22:08 +02:00
Bo-Yi Wu 7ec7df8b93 Add 1.7 test. 2016-10-12 22:23:43 +08:00
Bo-Yi Wu f28b6cdd69 Merge pull request #710 from soniabhishek/patch-1
Removed additional Iota
2016-10-12 09:18:04 -05:00
ABHISHEK SONI 15fc943ba4 Removed additional Iota
I think assigning iota to each constant is not required
2016-09-29 19:32:27 +05:30
Manu Mtz.-Almeida f931d1ea80 Merge pull request #620 from betahu/patch-1
Update README.md
2016-05-25 14:45:45 +02:00
betahu bf5b09cc57 Update README.md
add code  to c.String
2016-05-17 15:14:47 +08:00
Javier Provecho Fernandez 542be2fe77 Merge pull request #588 from appleboy/patch-1
Add project lists using gin framework.
2016-04-15 13:10:04 +02:00
Javier Provecho Fernandez cf256f51b1 Merge pull request #589 from appleboy/patch-3
update readme: add YAML example.
2016-04-15 13:09:00 +02:00
Javier Provecho Fernandez 3576efa535 Merge pull request #590 from seregayoga/develop
Default writers must be io.Writers
2016-04-15 13:08:28 +02:00
Sergey Fedchenko 7ccbc8f584 Default writers must be io.Writers 2016-04-15 14:24:13 +06:00
Bo-Yi Wu e67cd9185e update readme: add YAML example. 2016-04-15 15:23:47 +08:00
Bo-Yi Wu bab63c3ef9 Add project lists using gin framework. 2016-04-15 09:17:38 +08:00
Javier Provecho Fernandez 3c3526f1f1 fix test and build 2016-04-15 01:35:22 +02:00
Javier Provecho Fernandez 9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Javier Provecho Fernandez 89f1adf0eb add go report card to readme 2016-04-15 00:48:41 +02:00
Javier Provecho Fernandez 4df51ad4f8 Merge pull request #587 from roylou/develop
Write header immediately in AbortWithStatus(), close #585
2016-04-15 00:36:29 +02:00
Javier Provecho 007bd5124a closes #514, code from bobbo@b4f0b50 2016-04-14 23:47:49 +02:00
Roy Lou 4c4444b160 Write header immediately in AbortWithStatus()
Otherwise, caller needs to invoke WriteHeaderNow himself after
AbortWithStatus(), which is error-prone.

Also modified ErrorLoggerT() such that it always writes log to response
body. Otherwise calling AbortWithStatus() will fail to write body because
c.Writer.Written() is set true by WriteHeaderNow().
2016-04-15 00:02:29 +08:00
Javier Provecho Fernandez 72ffff6e44 Merge pull request #581 from tebeka/develop
Rename to conform with test files naming (closes #580)
2016-04-09 13:29:52 +02:00
Miki Tebeka 2fd607be4c Rename to conform with test files naming (closes #580) 2016-04-07 07:33:28 +03:00
Javier Provecho Fernandez 233291e4e2 Merge pull request #575 from Saser/develop
Fix typos and improve wording
2016-04-02 20:48:52 +02:00
Javier Provecho Fernandez dc85514303 Merge pull request #576 from kamronbatman/patch-1
[Cleanup] Typo in context.go
2016-04-02 20:47:18 +02:00
Kamron Batman 70c104e16c [Cleanup] Typo in context.go
Fixes typo from 'If Parses' to 'It parses'
2016-04-01 16:29:28 -07:00
Christian Persson 61729ed6fa Fix typos and improve wording 2016-04-01 09:58:58 +02:00
Andrey Nering f3ff8f827c Refactor GetQuery and GetPostForm 2016-03-29 21:54:21 -03:00
Andrey Nering 9366e33ffc Implement QueryArray and PostArray methods 2016-03-29 21:48:50 -03:00
Javier Provecho Fernandez 4a6bc4aac4 Merge pull request #562 from appleboy/patch-3
Add upload file example
2016-03-14 12:55:50 +01:00
Javier Provecho Fernandez a7d3be5b8a Merge pull request #557 from AlbinOS/patch-1
Fix typo on gin_test.go
2016-03-14 12:51:43 +01:00
Javier Provecho Fernandez 2afce84a7c Merge pull request #561 from appleboy/patch-1
Add manners package.
2016-03-14 12:49:18 +01:00
Bo-Yi Wu d1f7f35d1c Add upload file example 2016-03-14 10:07:55 +08:00
Bo-Yi Wu 38b77a71d9 Add manners package. 2016-03-14 09:11:59 +08:00
Albin Gilles 1f2e53dfd1 Fix typo on gin_test.go
Fixes #550, change a duplicate assert on the Path of the route by an assert on Handler name associated with the route.
2016-03-09 08:29:01 +01:00
Javier Provecho Fernandez 31e4401f01 Merge pull request #556 from mpuncel/mpuncel/fix-godoc-handlername
fix typo in godoc for func (*Context) HandlerName
2016-03-08 10:27:37 +01:00
Michael Puncel 7171b967a3 s/currect/current 2016-03-07 21:56:46 -08:00
Michael Puncel 13565e1bf5 fix typo in godoc for func (*Context) HandlerName 2016-03-07 20:54:10 -08:00
Javier Provecho 7cdebae482 Merge branch 'bigwheel-topic-add-test-using-httptest' into develop 2016-03-05 23:32:40 +01:00
Javier Provecho 787aa6d170 Merge branch 'topic-add-test-using-httptest' of https://github.com/bigwheel/gin into bigwheel-topic-add-test-using-httptest 2016-03-05 23:31:31 +01:00
Javier Provecho Fernandez 288d1ae13c Merge branch 'ishanray-patch-1' into develop 2016-03-05 23:11:51 +01:00