You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
Package validator
2
2
================
3
3
<imgalign="right"src="https://raw.githubusercontent.com/go-playground/validator/v9/logo.png">[](https://gitter.im/go-playground/validator?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Package validator implements value validations for structs and individual fields based on tags.
@@ -20,18 +20,18 @@ It has the following **unique** features:
20
20
- Alias validation tags, which allows for mapping of several validations to a single tag for easier defining of validations on structs
21
21
- Extraction of custom defined Field Name e.g. can specify to extract the JSON name while validating and have it available in the resulting FieldError
22
22
- Customizable i18n aware error messages.
23
-
- Default validator for the [gin](https://github.com/gin-gonic/gin) web framework; upgrading from v8 to v9 in gin see [here](https://github.com/go-playground/validator/tree/v9/_examples/gin-upgrading-overriding)
23
+
- Default validator for the [gin](https://github.com/gin-gonic/gin) web framework; upgrading from v8 to v9 in gin see [here](https://github.com/go-playground/validator/tree/master/_examples/gin-upgrading-overriding)
24
24
25
25
Installation
26
26
------------
27
27
28
28
Use go get.
29
29
30
-
go get gopkg.in/go-playground/validator.v9
30
+
go get github.com/go-playground/validator/v10
31
31
32
32
Then import the validator package into your own code.
0 commit comments