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
7d0b329203
Push branch develop into master
2016-04-10 23:55:27 +02: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
Javier Provecho Fernandez
6b9311cd5d
Merge branch 'patch-1' of https://github.com/ishanray/gin into ishanray-patch-1
2016-03-05 23:11:28 +01:00
ishanray
19f77bdd4c
Update README.md
2016-03-05 02:27:19 +04:00
Javier Provecho Fernandez
00b10c30a0
Merge pull request #539 from appleboy/patch-2
...
Add 1.5 and 1.6 to TravisCI
2016-02-24 19:46:12 +01:00
Javier Provecho Fernandez
56eb8a6af6
Merge branch 'honteng-bind_test' into develop
2016-02-24 19:41:30 +01:00
Javier Provecho Fernandez
a6ce7dd84a
Merge branch 'bind_test' of https://github.com/honteng/gin into honteng-bind_test
2016-02-24 19:20:20 +01:00
Javier Provecho Fernandez
68b8b498bd
Merge branch 'hryamzik-develop' into develop
2016-02-24 19:03:26 +01:00
Javier Provecho Fernandez
cbf43049fe
Explain better the `net/http` note.
2016-02-24 19:02:39 +01:00
Roman Belyakovsky
8b649abbf5
Added note for net/http import and fixed numbering in readme
2016-02-24 17:02:40 +03:00
bigwheel
3a040f8550
Add integration test using httptest
2016-02-24 02:44:52 +09:00
Bo-Yi Wu
9b95308930
Add 1.5 and 1.6 test.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-02-20 11:18:40 +08:00
Javier Provecho Fernandez
b3878c2465
Merge pull request #535 from appleboy/patch-1
...
fix: example format.
2016-02-20 01:46:12 +01:00
Javier Provecho Fernandez
2498240ff0
Merge pull request #537 from mayhewj/develop
...
Fix README mistake
2016-02-18 10:38:17 +01:00
Justin Mayhew
701989d26e
Fix README mistake
2016-02-17 21:45:37 -04:00
Bo-Yi Wu
00ff808ac5
fix: example format.
2016-02-17 10:45:44 +08:00
Manu Mtz.-Almeida
27f912f5b2
README little fixes
2016-01-30 01:34:20 +01:00
Manu Mtz.-Almeida
3e56f79fba
Coherent example code in README
2016-01-30 01:32:46 +01:00
Manu Mtz.-Almeida
3d002e3823
Updates read
2016-01-30 01:28:57 +01:00
Manu Mtz.-Almeida
44978ff780
Improves Context documentation
...
Query(), GetQuery(), PostForm(), GetPostForm()...
2016-01-29 02:42:19 +01:00
Manu Mtz.-Almeida
afc499f306
Adds GetQuery() and GetPostForm() APIs
2016-01-29 02:07:44 +01:00
Manu Mtz.-Almeida
19b5f726f4
Fixes tree_test.go
2016-01-28 00:35:19 +01:00
Manu Mtz.-Almeida
d64a1fb91c
Cosmetic changes
2016-01-28 00:35:09 +01:00
Manu Mtz.-Almeida
97cd894279
c.Redirect() allows 201 status code
2016-01-28 00:34:05 +01:00
Manu Mtz.-Almeida
b4963aa7de
Updates tree_test.go
2016-01-28 00:28:16 +01:00
Manu Mtz.-Almeida
20825e7694
Updates tree.go from httpRouter
2016-01-28 00:14:26 +01:00
178inaba
ce26751a5a
add import path to .travis.yml
2016-01-28 02:32:44 +09:00