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

update for supporting file binding #1264

Merged
merged 10 commits into from
Mar 18, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix code lint
  • Loading branch information
thinkerou authored Mar 17, 2019
commit 0686554bcda78cab7bb90d1aa880708b8d6abc7d
1 change: 0 additions & 1 deletion binding/binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ func createFormFilesMultipartRequest(t *testing.T) *http.Request {
defer f.Close()
fw, err1 := mw.CreateFormFile("file", "form.go")
assert.NoError(t, err1)

io.Copy(fw, f)

req, err2 := http.NewRequest("POST", "/?foo=getfoo&bar=getbar", body)
Expand Down