mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 21:22:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/go-playground/validator/v10 (#1724)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.12.0 to 10.13.0. - [Release notes](https://github.com/go-playground/validator/releases) - [Commits](https://github.com/go-playground/validator/compare/v10.12.0...v10.13.0) --- updated-dependencies: - dependency-name: github.com/go-playground/validator/v10 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								ab7f518f57
							
						
					
				
			
			
				commit
				
					
						e9de7bec15
					
				
			
		
					 11 changed files with 1036 additions and 1002 deletions
				
			
		
							
								
								
									
										13
									
								
								vendor/github.com/go-playground/validator/v10/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								vendor/github.com/go-playground/validator/v10/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -146,7 +146,7 @@ use the UTF-8 hex representation 0x7C, which is replaced in the code as a pipe, | |||
| so the above will become excludesall=0x7C | ||||
| 
 | ||||
| 	type Test struct { | ||||
| 		Field `validate:"excludesall=|"`    // BAD! Do not include a a pipe! | ||||
| 		Field `validate:"excludesall=|"`    // BAD! Do not include a pipe! | ||||
| 		Field `validate:"excludesall=0x7C"` // GOOD! Use the UTF-8 hex representation. | ||||
| 	} | ||||
| 
 | ||||
|  | @ -239,7 +239,7 @@ Example #2 | |||
| 
 | ||||
| 	map[[2]string]string with validation tag "gt=0,dive,keys,dive,eq=1|eq=2,endkeys,required" | ||||
| 	// gt=0 will be applied to the map itself | ||||
| 	// eq=1|eq=2 will be applied to each array element in the the map keys | ||||
| 	// eq=1|eq=2 will be applied to each array element in the map keys | ||||
| 	// required will be applied to map values | ||||
| 
 | ||||
| # Required | ||||
|  | @ -916,7 +916,7 @@ this with the omitempty tag. | |||
| # Base64URL String | ||||
| 
 | ||||
| This validates that a string value contains a valid base64 URL safe value | ||||
| according the the RFC4648 spec. | ||||
| according the RFC4648 spec. | ||||
| Although an empty string is a valid base64 URL safe value, this will report | ||||
| an empty string as an error, if you wish to accept an empty string as valid | ||||
| you can use this with the omitempty tag. | ||||
|  | @ -927,7 +927,7 @@ you can use this with the omitempty tag. | |||
| # Base64RawURL String | ||||
| 
 | ||||
| This validates that a string value contains a valid base64 URL safe value, | ||||
| but without = padding, according the the RFC4648 spec, section 3.2. | ||||
| but without = padding, according the RFC4648 spec, section 3.2. | ||||
| Although an empty string is a valid base64 URL safe value, this will report | ||||
| an empty string as an error, if you wish to accept an empty string as valid | ||||
| you can use this with the omitempty tag. | ||||
|  | @ -1361,7 +1361,7 @@ More information on https://cve.mitre.org/ | |||
| 
 | ||||
| # Credit Card | ||||
| 
 | ||||
| This validates that a string value contains a valid credit card number using Luhn algoritm. | ||||
| This validates that a string value contains a valid credit card number using Luhn algorithm. | ||||
| 
 | ||||
| 	Usage: credit_card | ||||
| 
 | ||||
|  | @ -1372,8 +1372,7 @@ This validates that a string value contains a valid credit card number using Luh | |||
| 
 | ||||
| This validates that a string or (u)int value contains a valid checksum using the Luhn algorithm. | ||||
| 
 | ||||
| 
 | ||||
| #MongoDb ObjectID | ||||
| # MongoDb ObjectID | ||||
| 
 | ||||
| This validates that a string is a valid 24 character hexadecimal string. | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue