Skip to content

feat: add IsPositive tag validator#453

Open
Jesse0Michael wants to merge 1 commit intoasaskevich:masterfrom
Jesse0Michael:positive-tag
Open

feat: add IsPositive tag validator#453
Jesse0Michael wants to merge 1 commit intoasaskevich:masterfrom
Jesse0Michael:positive-tag

Conversation

@Jesse0Michael
Copy link
Copy Markdown

@Jesse0Michael Jesse0Michael commented Oct 6, 2021

Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC no
QA yes

Description

add the option to use the tag positive to validate that a struct field is positive. ie: valid:"positive"

resolves: #388


This change is Reviewable

add the option to use the tag `positive` to validate that a struct field is positive. ie: `valid:"positive"`
@sergeyglazyrindev
Copy link
Copy Markdown

Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss 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

Successfully merging this pull request may close these issues.

Implement positive number tag

2 participants