Add documentation

pull/563/head
Ravi Terala 5 years ago
parent 893747e5ee
commit a1ac82a865
  1. 7
      doc.go

@ -1037,6 +1037,13 @@ This is done using os.Stat, which is a platform independent function.
Usage: dir
HostPort
This validates that a string value contains a valid DNS hostname and port that
can be used to valiate fields typically passed to sockets and connections.
Usage: hostname_port
Alias Validators and Tags
NOTE: When returning an error, the tag returned in "FieldError" will be

Loading…
Cancel
Save