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

Support hostname:port validator #562

Closed
terala opened this issue Jan 3, 2020 · 2 comments
Closed

Support hostname:port validator #562

terala opened this issue Jan 3, 2020 · 2 comments

Comments

@terala
Copy link

terala commented Jan 3, 2020

Package Version: v10
Enhancement:
hostname:port is a very commonly used string field used for specifying network endpoints. Validator is needed to perform validation for this string field.

Example:

type Host struct {
    Addr string `validate:"hostname_port"`
}
@psampaz
Copy link
Contributor

psampaz commented Feb 10, 2020

#563 closes this one I think

@terala terala closed this as completed Feb 10, 2020
@terala
Copy link
Author

terala commented Feb 10, 2020

Support added with #563

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