youngbloood
d5fa6f5bb1
Merge branch 'master' into master
2018-08-30 17:20:42 +08:00
llgoer
708b76adf0
Update README.md ( #1509 )
...
change `ShouldBindXML` to `ShouldBindJSON`
2018-08-30 14:29:26 +08:00
Bo-Yi Wu
09d342abbc
Add golang 1.11.x testing ( #1514 )
...
* Add golang 1.11.x testing
* remove the latest golang testing
See the issue: https://github.com/gin-gonic/gin/pull/1510
2018-08-30 14:22:51 +08:00
youngbloood
f96984d6df
Merge branch 'master' into master
2018-08-22 18:08:16 +08:00
anoty
0da5b0c85a
format readme code import ( #1503 )
2018-08-21 13:29:25 +08:00
田欧
85f3e78abc
chore: remove else instead of return/continue ( #1502 )
...
As[ Effective Go](https://golang.org/doc/effective_go.html?#if ) about `if` said, remove else statement instead of return/continue statement.
2018-08-20 21:49:24 +08:00
junfengye
0ebd42d0a9
Update jsoniter.go ( #1500 )
...
add newencoder to fix compile error for -tags=jsoniter
2018-08-20 18:25:45 +08:00
Filip Figiel
c6110f970c
Add PureJSON renderer ( #694 )
...
Closes #693
2018-08-20 15:15:31 +08:00
田欧
b7bb9baa64
chore: add missing copyright and update if/else ( #1497 )
2018-08-19 22:52:43 +08:00
田欧
32b58e0fd2
render: update msgpack usage ( #1498 )
...
please see msgpack usage: https://github.com/ugorji/go/tree/master/codec#usage
2018-08-19 22:14:02 +08:00
田欧
6073a79ee0
not use protobuf on context but use it on render ( #1496 )
2018-08-19 17:39:58 +08:00
aljun
efdd3c8b81
Add support for Protobuf format response and unit test ( #1479 )
...
`Gin` now have the `protobufBinding` function to check the request format, but didn't have a protobuf response function like `c.YAML()`.
In our company [ByteDance](http://bytedance.com/ ), the largest internet company using golang in China, we use `gin` to transfer __Protobuf__ instead of __Json__, we have to write some internal library to make some wrappers to achieve that, and the code is not elegant. So we really want such a feature.
2018-08-19 10:45:56 +08:00
youngbloood
6be55c4bd7
Merge branch 'master' into master
2018-08-17 22:10:27 +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
youngbloood
ca2bb3e695
Merge branch 'master' into master
2018-08-17 11:29:49 +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
youngbloood
48c7ef1c9a
Merge branch 'master' into master
2018-08-16 19:20:22 +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
youngblood
70537925b4
gin.go
2018-08-15 14:44:17 +08:00
youngblood
31b6862acb
fixconflict
2018-08-15 14:08:01 +08:00
youngbloood
67f7943237
Merge branch 'master' into master
2018-08-15 14:00:07 +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
田欧
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
田欧
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
youngblood
f41f3da10f
delete redundancy code
2018-08-10 12:09:48 +08:00
田欧
1f1bc429ed
chore: add test case for source/function of recovery.go ( #1467 )
2018-08-09 17:20:06 +08:00
youngbloood
9e46bad91c
Merge pull request #1 from isgj/master
...
Save fullPath when node was already added and after moved to a child
2018-08-09 17:08:58 +08:00
isgj
6669d5e8e7
Save fullPath when node was already added and after moved to a child
2018-08-09 10:31:14 +02:00
youngblood
124cea4e8c
Merge branch 'master' of github.com:youngbloood/gin
2018-08-08 22:42:03 +08:00
youngblood
5bb5598249
add fullpath in the end node
2018-08-08 22:40:01 +08:00
youngblood
a9c143b963
add fullpath in node
2018-08-08 22:40:01 +08:00
youngblood
df95e14718
add fullpath in node
2018-08-08 22:40:01 +08:00
youngblood
4695ec357f
tree_test
2018-08-08 22:40:01 +08:00
youngblood
91af378995
add RelativePath
2018-08-08 22:40:01 +08:00
youngblood
cbd27b8f80
add RelativePath
2018-08-08 22:40:01 +08:00
youngblood
45bb968ea8
add fullpath in the end node
2018-08-08 18:44:35 +08:00
youngblood
2fc9b15c7a
add fullpath in node
2018-08-08 18:40:15 +08:00
youngblood
b5847d0a7a
add fullpath in node
2018-08-08 17:21:42 +08:00
youngbloood
427ca1c5cd
Merge branch 'master' into master
2018-08-08 10:51:52 +08:00