http_multipart.go 152 B

123456789
  1. // +build go1.10
  2. package main
  3. import "mime/multipart"
  4. func isEmptyFormFile(f *multipart.FileHeader) bool {
  5. return f.Size == 0 && f.Filename == ""
  6. }