Commit Graph

773 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida 60f66918f8 go-colorable does not work in app engine 2016-01-26 18:53:00 +01:00
Manu Mtz.-Almeida 4c639a5049 Cosmetic changes:
- Deprecating GetCookie()
2016-01-26 18:36:37 +01:00
Manu Mtz.-Almeida 7afb3238a3 Improves Recovery middleware:
- request context
- red colouring
2016-01-26 18:35:56 +01:00
Manu Mtz.-Almeida 2fc2a3e782 Rendering error throws a panic() 2016-01-26 18:35:04 +01:00
Manu Mtz.-Almeida 9abb909731 Merge branch 'master' into develop 2016-01-26 15:55:44 +01:00
Manu Mtz.-Almeida 7b4e9a81a5 Cosmetic changes 2016-01-26 15:55:30 +01:00
Manu Mtz.-Almeida 5196d455c8 Merge branch 'master' of github.com:gin-gonic/gin 2016-01-26 14:55:57 +01:00
Manu Mtz.-Almeida d0cd8b9fd9 Adds Status() method to Context 2016-01-26 14:55:45 +01:00
Josh Horowitz c5c806d22d Fixed typo. join -> john 2016-01-14 15:58:17 -05:00
Naoki Takano 66c4b81579 Added exits check tests for binding 2015-12-30 22:49:38 -08:00
Olivier Mengué 90911f53f2 debug: fix indent of routes dump for DELETE method
'DELETE' is 6 chars and breaks indent of the routes dump (only 5 chars
were reserved for the HTTP method).
2015-12-10 15:15:17 +01:00
ZhiFeng Hu 8b000c5a04 Add document about graceful restart or stop
I am looking for a long time , add this document will
help who were looking for graceful restart/stop like me.

Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-11 10:27:36 +08:00
Kyle Mcgill 48b5f5d466 Merge pull request #1 from kylescottmcgill/docs-spelling
undefinitely -> indefinitely
2015-11-04 21:05:52 +13:00
Kyle Mcgill 23c01faeb3 undefinitely -> indefinitely
It was bugging me :)
2015-11-04 21:03:57 +13:00
Brian Wigginton 353fa14750 additional clarification 2015-10-27 12:26:05 -05:00
Brian Wigginton 1541a141ee update docs for context.Abort
The docs were a little unclear as to how to use Abort, and how it will affect the current handler.
2015-10-27 12:22:18 -05:00
shadrus 13ba260d76 Wrong copy/paste TODO 2015-10-05 22:27:03 +03:00
Javier Provecho Fernandez fe49f0b616 Fix exported test function 2015-10-02 12:39:25 +02:00
Javier Provecho Fernandez 4892650ef8 Merge branch 'se77en-master' into develop 2015-10-02 12:38:32 +02:00
Javier Provecho Fernandez 8e37eb8498 Fix tests for GetCookie() and SetCookie() 2015-10-02 12:37:51 +02:00
Javier Provecho Fernandez 45b72951af Merge branch 'master' of https://github.com/se77en/gin into se77en-master 2015-10-02 11:25:25 +02:00
Javier Provecho Fernandez ec30e4d727 Merge branch 'zaynetro-master' into develop 2015-10-02 11:12:57 +02:00
Javier Provecho Fernandez 94938916c8 Merge branch 'master' of https://github.com/zaynetro/gin into zaynetro-master 2015-10-02 11:11:27 +02:00
Javier Provecho Fernandez 91231d4801 Merge branch 'zhing-new-binding-validator' into develop 2015-10-02 10:43:19 +02:00
Javier Provecho Fernandez e5339a3f4d Merge branch 'new-binding-validator' of https://github.com/zhing/gin into zhing-new-binding-validator
Conflicts:
	binding/binding.go
	binding/binding_test.go
2015-10-02 10:42:58 +02:00
Javier Provecho Fernandez ee820830d5 Merge branch 'danielalves-master' into develop 2015-10-02 10:26:23 +02:00
Javier Provecho Fernandez afbf1cf37d Merge branch 'master' of https://github.com/danielalves/gin into danielalves-master
Conflicts:
	context_test.go
2015-10-02 10:26:02 +02:00
Javier Provecho Fernandez 50d9af710b Merge branch 'cxjava-master' into develop
Conflicts:
	README.md
2015-10-02 10:06:02 +02:00
Javier Provecho Fernandez 8a530c026b Merge branch 'master' of https://github.com/cxjava/gin into cxjava-master 2015-10-02 10:02:18 +02:00
Javier Provecho Fernandez 0da4558139 Merge branch 'vinceyuan-master' into develop 2015-10-02 09:58:52 +02:00
Javier Provecho Fernandez 484fec592d Merge branch 'master' of https://github.com/vinceyuan/gin into vinceyuan-master 2015-10-02 09:58:32 +02:00
Javier Provecho Fernandez fdc54c9c7f Merge branch 'donnpebe-fix' into develop 2015-10-02 09:54:43 +02:00
Javier Provecho Fernandez 558d6b582f Merge branch 'fix' of https://github.com/donnpebe/gin into donnpebe-fix 2015-10-02 09:54:06 +02:00
Javier Provecho Fernandez 28ea79cd5f Merge branch 'master' into develop 2015-10-02 09:51:24 +02:00
Javier Provecho Fernandez 52fcc5dbf6 Merge branch 'fix-tests' 2015-09-25 12:14:45 +02:00
Javier Provecho Fernandez 3e8884a7f1 Fix MiddlewareWrite in middleware_test.go 2015-09-25 12:12:34 +02:00
Javier Provecho Fernandez 8553030656 Remove old test 2015-09-25 12:12:06 +02:00
Javier Provecho Fernandez 6db7a17513 Trying a new fix. 2015-09-25 12:04:55 +02:00
Javier Provecho Fernandez aa934766b4 Fix TestContextRenderSSE-2 in context_test.go 2015-09-25 11:43:07 +02:00
Damon Zhao e1d27558b3 add parameters for set cookie 2015-09-08 15:37:20 +08:00
Damon Zhao 7bf9788326 fix ci 2015-08-27 16:16:16 +08:00
Damon Zhao f5b1fb44bb Add SetCookie and GetCookie method for Context 2015-08-27 16:04:50 +08:00
Philipp Meinen 9fd8aff56e tests: make path assertions aware of vendoring
The path of a package can change in a situation where
dependency vendoring is in use.
This change modifies gin's unit tests to allow such paths.
2015-08-23 00:13:41 +02:00
Javier Provecho Fernandez 02df324cc6 Fix #406, #407 and gofmt all examples 2015-08-17 12:49:28 +02:00
Javier Provecho Fernandez dba1781814 Correct an error in README.md 2015-08-17 12:27:38 +02:00
Manu Mtz-Almeida 39a82ce0b8 ginS -- api experiment 2015-08-16 18:44:18 +02:00
Manu Mtz-Almeida 704d690ac0 Removes debug code in unit tests 2015-08-16 18:39:41 +02:00
Manu Mtz-Almeida e8bc8f48e9 Merge branch 'master' into develop
Conflicts:
	README.md
	gin.go
	routergroup.go
2015-08-16 18:38:13 +02:00
Manu Mtz-Almeida a97c239b7a fixes unit tests 2015-08-16 16:36:47 +02:00
Manu Mtz-Almeida ce2201c392 router.Run() can be called without parameters. #405 2015-08-16 16:19:51 +02:00