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

Custom Input validation #9

Open
Fontinalis opened this issue Mar 22, 2020 · 0 comments
Open

Custom Input validation #9

Fontinalis opened this issue Mar 22, 2020 · 0 comments

Comments

@Fontinalis
Copy link
Collaborator

type InputValidator interface {
   Valid(v interface{}) bool
}

If the Argument or the InputField implements the InputValidator interface, run the Valid(..) function before execution.

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