Skip to content
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

add support arrays on mapping #1797

Merged
merged 5 commits into from Mar 14, 2019
Merged

add support arrays on mapping #1797

merged 5 commits into from Mar 14, 2019

Conversation

vkd
Copy link
Contributor

@vkd vkd commented Mar 5, 2019

var s struct {
	Nums [2]int `form:"nums"`
}
req := formPostRequest("", "nums=3&nums=8")
Form.Bind(req, &s)

@codecov
Copy link

codecov bot commented Mar 5, 2019

Codecov Report

Merging #1797 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1797      +/-   ##
==========================================
+ Coverage   98.62%   98.63%   +<.01%     
==========================================
  Files          41       41              
  Lines        2113     2124      +11     
==========================================
+ Hits         2084     2095      +11     
  Misses         18       18              
  Partials       11       11
Impacted Files Coverage Δ
binding/form_mapping.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cab0749...35314e5. Read the comment docs.

binding/binding_test.go Outdated Show resolved Hide resolved
@thinkerou thinkerou added this to the 1.4 milestone Mar 7, 2019
@thinkerou thinkerou merged commit 483f828 into gin-gonic:master Mar 14, 2019
@vkd vkd deleted the mapping_array branch March 26, 2019 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants