Path binds the absolute path of a form data file to a string variable. var path string ctx.FormData().Path("foo.txt", &path)
(filename string, target *string)
| 318 | // |
| 319 | // ctx.FormData().Path("foo.txt", &path) |
| 320 | func (form *FormData) Path(filename string, target *string) *FormData { |
| 321 | return form.path(filename, target) |
| 322 | } |
| 323 | |
| 324 | // MandatoryPath binds the absolute path of a form data file to a string |
| 325 | // variable. It populates an error if the file does not exist. |