Skip to content

Bind file from multipart/form-data request #2672

@MilkeeyCat

Description

@MilkeeyCat

Issue Description

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Hi :D. Is there a way to bind file from multipart/form-data request to a struct field? For example

type Data struct {
	File multipart.FileHeader `form:"file"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions