Skip to content

Commit

Permalink
Merge pull request #376 from noibar/add_file_validation
Browse files Browse the repository at this point in the history
doc: add file validation documentation
  • Loading branch information
deankarn authored Jun 28, 2018
2 parents fb72538 + ea9cb42 commit 9d03e25
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,14 @@ does any email provider accept all posibilities.
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
This validates that a string value contains a valid url
Expand Down

0 comments on commit 9d03e25

Please sign in to comment.