salamer
e51d726b33
add some protobuf rendering examples in README, add some tests and update some annotations
2018-08-18 23:29:46 +08:00
salamer
5be19bd95c
update annotation of protobuf
2018-08-18 18:10:51 +08:00
salamer
75aa0c0d5f
filled test
2018-08-18 18:04:44 +08:00
salamer
8ba804b5f4
fixed missed code
...
fixed missed code bug
replace 201 with http lib and update annotation
2018-08-18 18:04:44 +08:00
salamer
86fe335849
fixed typo
2018-08-18 12:01:19 +08:00
salamer
b6cb77e315
add full protobuf rendering test
2018-08-18 11:51:21 +08:00
chainhelen
65a97e161f
Update readme about the version of gin ( #1494 )
2018-08-18 11:51:17 +08:00
David Zhang
6af1a17970
Fix typo in README [ci skip] ( #1492 )
2018-08-18 11:50:49 +08:00
Eason Lin
b62f951896
readme: fix users link ( #1493 )
2018-08-18 11:50:49 +08:00
Alexander Lokhman
64ecab2453
Set default time format in form binding ( #1487 )
2018-08-18 11:50:49 +08:00
syssam
4e28f1efea
Add BindXML AND ShouldBindXML #1484 ( #1485 )
...
Add BindXML AND ShouldBindXML #1484
2018-08-18 11:50:49 +08:00
田欧
3cce9fb855
chore: upgrade dependency library version ( #1491 )
...
upgrade lib version, and upgrade `github.com/json-iterator/go` to add two libs.
2018-08-18 11:50:49 +08:00
Abner Chen
95fdb356d3
Fix typo in readme ( #1490 )
2018-08-18 11:50:49 +08:00
Javier Provecho Fernandez
a190c8b643
docs: add changelog for v1.3.0, update authors and version const ( #1478 )
...
* docs: add changelog for v1.3.0, update authors and version const
* add link for every referenced pull request (#1481 )
* docs: add changelog for v1.3.0, update authors and version const
* add link for pr
2018-08-18 11:50:49 +08:00
田欧
06d50f118c
add issue and pull request template explain ( #1483 )
...
* add issue/pr template explain
* add issue/pr template explain
2018-08-18 11:50:49 +08:00
田欧
85d33ff286
chore: use http.Status* instead of hard code ( #1482 )
2018-08-18 11:50:44 +08:00
Alex
9ce5f61d5f
docs: remove double negative in README.md ( #1480 )
...
"not match neither" means that it will match.
2018-08-18 11:49:54 +08:00
田欧
a712509595
unify test data ( #1417 )
...
mkdir a test data dir.
2018-08-18 11:49:54 +08:00
田欧
df04038d4e
improve render code coverage ( #1474 )
...
all code coverage > 99%
2018-08-18 11:49:54 +08:00
田欧
7d89b71ed9
improve utils code coverage ( #1473 )
2018-08-18 11:49:54 +08:00
田欧
1aa0e1810c
chore: add return or remove else for reduce indent ( #1470 )
2018-08-18 11:49:54 +08:00
salamer
11e1ba3882
add protobuf render test
2018-08-18 11:07:33 +08:00
chainhelen
f856aa85cd
Update readme about the version of gin ( #1494 )
2018-08-17 14:59:55 +08:00
David Zhang
f5451bd645
Fix typo in README [ci skip] ( #1492 )
2018-08-17 11:33:23 +08:00
Eason Lin
a643d20605
readme: fix users link ( #1493 )
2018-08-17 11:21:14 +08:00
Alexander Lokhman
7eb0f74b89
Set default time format in form binding ( #1487 )
2018-08-17 09:41:56 +08:00
syssam
40ab9de4b5
Add BindXML AND ShouldBindXML #1484 ( #1485 )
...
Add BindXML AND ShouldBindXML #1484
2018-08-17 09:12:15 +08:00
田欧
bef6c56c89
chore: upgrade dependency library version ( #1491 )
...
upgrade lib version, and upgrade `github.com/json-iterator/go` to add two libs.
2018-08-16 17:38:17 +08:00
Abner Chen
64a4548642
Fix typo in readme ( #1490 )
2018-08-15 13:42:12 +08:00
Javier Provecho Fernandez
b869fe1415
docs: add changelog for v1.3.0, update authors and version const ( #1478 )
...
* docs: add changelog for v1.3.0, update authors and version const
* add link for every referenced pull request (#1481 )
* docs: add changelog for v1.3.0, update authors and version const
* add link for pr
v1.3.0
2018-08-14 10:58:52 +02:00
田欧
6c8a973134
add issue and pull request template explain ( #1483 )
...
* add issue/pr template explain
* add issue/pr template explain
2018-08-14 11:35:13 +08:00
田欧
f45c928a15
chore: use http.Status* instead of hard code ( #1482 )
2018-08-14 09:51:56 +08:00
Alex
8aef947f6e
docs: remove double negative in README.md ( #1480 )
...
"not match neither" means that it will match.
2018-08-12 22:54:22 +02:00
田欧
6159213462
unify test data ( #1417 )
...
mkdir a test data dir.
2018-08-12 23:38:31 +08:00
salamer
42dd325de4
add TestRenderProtoBuf
2018-08-12 23:19:55 +08:00
田欧
1ae32f3a2c
improve render code coverage ( #1474 )
...
all code coverage > 99%
2018-08-12 22:02:37 +08:00
田欧
202db4fb11
improve utils code coverage ( #1473 )
2018-08-12 21:38:07 +08:00
田欧
e5bb4f62a2
chore: add return or remove else for reduce indent ( #1470 )
2018-08-12 21:17:57 +08:00
salamer
5682f53f38
Add support for Protobuf format response
2018-08-12 14:46:43 +08:00
田欧
7e64d32269
Attempt to fix #1462 ( #1463 )
...
#1462
2018-08-12 10:12:33 +08:00
田欧
8fc8ce0472
small enhance for cleanPath ( #1469 )
...
from httprouter patch: https://github.com/julienschmidt/httprouter/pull/243
2018-08-10 20:50:23 +08:00
田欧
1f1bc429ed
chore: add test case for source/function of recovery.go ( #1467 )
2018-08-09 17:20:06 +08:00
田欧
9666ba6738
chore: update top bar header ( #1461 )
2018-08-07 13:49:31 +08:00
zhanweidu
0552c3bc3a
flush operation will overwrite the origin status code ( #1460 )
...
The status of responseWriter will be overwrite if flush was called. This is caused by the Flush of http.response.Flush().
2018-08-07 12:41:28 +08:00
Dmitry Dorogin
9b7e7bdce6
Add tests for context.Stream ( #1433 )
2018-08-07 06:44:32 +08:00
grapeVine
e2b4cf6e2d
interface implement type check ( #1459 )
...
interface implement type check
2018-08-06 23:08:01 +08:00
田欧
647535cd9b
Support map as query string or post form parameters ( #1383 )
...
* support query map
* add GetQueryMap and unittest
* support post-form map
* add readme for query map
* attempt to fix bug for post-form map when go version is 1.6
* remove duplicate code
* remove comment
2018-08-06 12:07:11 +08:00
Dmitry Dorogin
631cfbd1ef
Simplify context error ( #1431 )
...
Hello!
Looking through context package and found a little bit complicated switch block. And tried to make it easier.
Thanks!
2018-08-05 13:29:26 +08:00
solos
220e8d3453
return json if jsonp has not callback ( #1438 )
...
return json if jsonp has not callback
2018-07-21 00:52:55 +08:00
Rex Lee(李俊)
85221af84c
add json ASCII string render ( #1358 )
...
add a json render that rendering json as ASCII string
2018-07-03 17:17:08 +08:00