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

[FIX] c.Request.FormFile maybe file, need close #2114

Merged
merged 2 commits into from Oct 31, 2019

Conversation

linfangrong
Copy link
Contributor

@linfangrong linfangrong commented Oct 29, 2019

#2104

func (r *Request) FormFile(key string) (multipart.File, *multipart.FileHeader, error)

File is an interface to access the file part of a multipart message. Its contents may be either stored in memory or on disk. If stored on disk, the File's underlying concrete type will be an *os.File.

@codecov
Copy link

codecov bot commented Oct 29, 2019

Codecov Report

Merging #2114 into master will decrease coverage by 0.08%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2114      +/-   ##
==========================================
- Coverage   98.83%   98.74%   -0.09%     
==========================================
  Files          40       40              
  Lines        2233     2236       +3     
==========================================
+ Hits         2207     2208       +1     
- Misses         13       14       +1     
- Partials       13       14       +1
Impacted Files Coverage Δ
context.go 98.66% <50%> (-0.44%) ⬇️

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 aabaccb...33a5852. Read the comment docs.

@thinkerou thinkerou added this to the 1.5 milestone Oct 30, 2019
@thinkerou thinkerou merged commit 0f95195 into gin-gonic:master Oct 31, 2019
@thinkerou thinkerou mentioned this pull request Nov 1, 2019
ThomasObenaus pushed a commit to ThomasObenaus/gin that referenced this pull request Feb 19, 2020
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

3 participants