Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add validate short url function e.g. "google.com" #29

Closed
oryband opened this issue Jan 7, 2015 · 3 comments
Closed

add validate short url function e.g. "google.com" #29

oryband opened this issue Jan 7, 2015 · 3 comments

Comments

@oryband
Copy link
Contributor

oryband commented Jan 7, 2015

  • Probably this only needs to check for valid url chars + dots
@asaskevich
Copy link
Owner

IsURL function already checks short url's:
https://github.com/asaskevich/govalidator/blob/master/validator_test.go#L266
Did you mean anything else?

@oryband
Copy link
Contributor Author

oryband commented Jan 8, 2015

@asaskevich oh I didn't realize that. Thanks. Better document this in the function.

You can close this issue.

@asaskevich
Copy link
Owner

Description of some functions are copies of same functions from validator.js. You can improve docs, I will be glad, if anyone will help me with it. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants