-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support binding for slice/array obj #2194
Closed
wuhuizuo
wants to merge
40
commits into
gin-gonic:master
from
wuhuizuo:feature/array_support_for_json_bind
Closed
Support binding for slice/array obj #2194
wuhuizuo
wants to merge
40
commits into
gin-gonic:master
from
wuhuizuo:feature/array_support_for_json_bind
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #2194 +/- ##
=======================================
Coverage 98.49% 98.49%
=======================================
Files 41 41
Lines 2319 2319
=======================================
Hits 2284 2284
Misses 20 20
Partials 15 15 Continue to review full report at Codecov.
|
vkd
reviewed
Dec 25, 2019
appleboy
requested changes
Dec 26, 2019
appleboy
previously approved these changes
Dec 27, 2019
thinkerou
reviewed
Dec 28, 2019
thinkerou
reviewed
Dec 28, 2019
thinkerou
reviewed
Dec 28, 2019
* add build tag nomsgpack * Update copyright * Update copyright
* path: use stack buffer in CleanPath to avoid allocs in common case Sync from julienschmidt/httprouter@8222db1 * path: sync test code from httprouter * path: update path_test.go to the latest code Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
…2196) Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Use zero-copy approach to convert types between string and byte slice * Rename argument to a eligible one Benchmark: BenchmarkBytesConvBytesToStrRaw-4 21003800 70.9 ns/op 96 B/op 1 allocs/op BenchmarkBytesConvBytesToStr-4 1000000000 0.333 ns/op 0 B/op 0 allocs/op BenchmarkBytesConvStrToBytesRaw-4 18478059 59.3 ns/op 96 B/op 1 allocs/op BenchmarkBytesConvStrToBytes-4 1000000000 0.373 ns/op 0 B/op 0 allocs/op Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Added support for SameSite cookie flag * fixed tests. * Update context.go * Update context_test.go * Update context_test.go Co-authored-by: thinkerou <thinkerou@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* chore(path): improve comments copy from julienschmidt/httprouter@15782a7 * fix typo Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
copy from julienschmidt/httprouter@cfa3cb7 Co-authored-by: thinkerou <thinkerou@gmail.com>
Co-authored-by: thinkerou <thinkerou@gmail.com>
fix #2236 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Context.FileFromFS added * Context File and FileFromFS examples at README Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: thinkerou <thinkerou@gmail.com>
* do not set unix socket permissions. Cleanup unix socket. * removed useless error checking
* Add mutex for protect Context.Keys map * Fix tests Co-authored-by: Nikolay Tolkachov <nik.tolkachov@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
to sync with tag v1.6.0
Co-authored-by: thinkerou <thinkerou@gmail.com>
* doc: add pr link * doc: add v1.6.1 release note
…com/wuhuizuo/gin into feature/array_support_for_json_bind
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
support usage followed: