You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the request.FormFile will call the FileHeader.Open:
func (fh*FileHeader) Open() (File, error) {
ifb:=fh.content; b!=nil {
r:=io.NewSectionReader(bytes.NewReader(b), 0, int64(len(b)))
returnsectionReadCloser{r}, nil
}
returnos.Open(fh.tmpfile) // it is posibble to open a disk file
}
The text was updated successfully, but these errors were encountered:
gin/context.go
Line 525 in 502c898
the request.FormFile will call the FileHeader.Open:
The text was updated successfully, but these errors were encountered: