Commit Graph

28 Commits

Author SHA1 Message Date
Dmitry Kutakov
f7becac7bc Relocate binding body tests (#2086)
* Relocate binding body tests

Every test file should be related to a tested file.
Remove useless tests.

* Add github.com/stretchr/testify/require package
2019-10-10 16:58:31 +08:00
thinkerou
1acb3fb30a
upgrade validator version to v9 (#1015)
* upgrade validator version to v9

* Update vendor.json

* Update go.mod

* Update go.sum

* fix

* fix

* fix bug

* Update binding_test.go

* Update validate_test.go

* Update go.sum

* Update go.mod

* Update go.sum

* Update go.mod

* Update go.sum
2019-09-05 21:39:56 +08:00
thinkerou
0349de518b
upgrade github.com/ugorji/go/codec (#1969) 2019-07-10 06:20:20 +08:00
田欧
73c4633943
use context instead of x/net/context (#1922) 2019-06-03 22:52:33 +08:00
田欧
bfecd88fc4
use sse v0.1.0 (#1923) 2019-06-03 22:42:25 +08:00
田欧
b75d67cd51
update vendor: ugorji/go (#1879)
* update vendor: ugorji/go

* fix
2019-05-07 19:43:05 +08:00
Dan Markham
094f9a9105 v1.4.0 + #1631 (remove go1.6/go1,7 support) (#1851)
* remove go1.6 support

* remove build tag

* remove todo

* remove go1.6 support: https://github.com/gin-gonic/gin/pull/1383/commits

* update readme

* remove go1.7 support

* fix embedmd error

* test

* revert it

* revert it

* remove context_17

* add pusher test

* v1.4.0 rc1
2019-05-07 18:32:32 +08:00
田欧
0feaf8cbd8
Split examples to alone repo (#1776)
* split examples to alone repo

* vendor

* fix package error

* add examples/README.md
2019-03-01 23:42:41 +08:00
田欧
524757b81c vendor: upgrade some dependency package version (#1596)
ref https://github.com/gin-gonic/gin/pull/1569#issuecomment-429731722
2018-10-15 20:24:32 +08:00
田欧
7451a402bb chore: update vendor version (#1520)
#1491 adds some lib when upgrade json-iterator but it is not needed, and use `v1.1.5` not `1.1.5` version for json-iterator.
2018-08-30 23:36:53 +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
田欧
760d0574db vendor: remove vendor package from example folder (#1402)
updated `vendor.json` is ok.
but set `ignore test` in `vendor.json`, `x/net/context` package only use in `context_test.go`, I don't know why vendor still need it.
please @appleboy review the pull request, thanks a lot.
2018-06-23 00:45:43 +08:00
JINNOUCHI Yasushi
814ac9490a Add example to build single binary with templates (#1328) 2018-04-22 15:04:38 +08:00
田欧
9ae1e5db2a add package for govendor (#1166)
* add package for govendor

* fix vet error.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add missing example.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update gin-gonic/autotls

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-11 23:11:22 -06:00
Eason Lin
c16c2b7ec3 chore(vendor): update jsoniter rev, #1086 (#1090) 2017-08-30 12:18:57 +08:00
Bo-Yi Wu
88566b928c chore(vendor): update jsoniter package (#1033) 2017-07-18 23:06:14 +02:00
Javier Provecho Fernandez
65a6dd46a5 chore(vendor): update jsonite rev, #1010 (#1012) 2017-07-12 06:02:00 -05:00
Bo-Yi Wu
986049d24c chore(vendor): upgrade jsonite rev (#1011)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-12 11:26:58 +02:00
Eason Lin
02a6f9b6bc chore(vendor): update json-iterator revison to fix TestRenderIndentedJSON failed (#1003)
* update json-iterator revison to fix TestRenderIndentedJSON failed

* fix(test): add space between key and value as same as standard JSON.

* fix(test): add space between key and value as same as standard JSON.
2017-07-11 00:59:03 -05:00
Javier Provecho Fernandez
b6256dbe0c chore(vendor): update jsonite rev, close #991 (#992) 2017-07-10 01:57:09 -05:00
Bo-Yi Wu
12508320c2
feat: change json lib to jsoniter
A high-performance 100% compatible drop-in replacement of "encoding/json"

https://github.com/json-iterator/go

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-08 16:51:36 +08:00
Javier Provecho Fernandez
c8af276865 chore(vendor): update vendor.json 2017-06-27 23:31:11 +02:00
Bo-Yi Wu
53295a75a4 refactor: update protobuf version (#936) 2017-06-06 20:35:07 -05:00
Bo-Yi Wu
28b18cd1fb feat: support cygwin for log writer. (#834) 2017-03-15 20:15:41 -05:00
Harindu Perera
5be2123c1a Added support for MessagePack binding and rendering (#808)
Added deps to vendor.json and fixed rendering bug
2017-02-23 22:08:37 +08:00
Javier Provecho Fernandez
963acc4b0c Fix #198 (#781)
* Add new function to Render interface for writing content type only

* Add support for the new function in Render interface for writing content-type only

* Fix unhandled merge conflict in context_test.go

* Update vendor.json
2017-01-09 16:24:48 +01:00
Javier Provecho Fernandez
44529e4a34 Update vendor.json 2016-12-07 00:25:57 +01:00
Javier Provecho Fernandez
2033b73551 Migrate from godeps to govendor 2016-12-06 19:53:58 +01:00