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 validators that check if string does not start/end with supplied parameter #583

Merged
merged 1 commit into from
May 21, 2020
Merged

Conversation

metalinspired
Copy link

  • Tests exist or have been written that cover this particular change.

Change Details:

  • Add startsnotwith and endsnotwith validators
  • Just wrappers around startswith and endswith that invert values returned from them

@go-playground/admins

Copy link

@cchung100m cchung100m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. @metalinspired

@deankarn deankarn merged commit dbfcad2 into go-playground:master May 21, 2020
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

Successfully merging this pull request may close these issues.

3 participants