Merge pull request #376 from noibar/add_file_validation

doc: add file validation documentation
pull/380/head v9.18
Dean Karn 6 years ago committed by GitHub
commit 9d03e2526a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      doc.go

@ -587,6 +587,14 @@ does any email provider accept all posibilities.
Usage: email Usage: email
File path
This validates that a string value contains a valid file path and that
the file exists on the machine.
This is done using os.Stat, which is a platform independent function.
Usage: file
URL String URL String
This validates that a string value contains a valid url This validates that a string value contains a valid url

Loading…
Cancel
Save