mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 09:52:26 -05:00 
			
		
		
		
	[chore]: Bump github.com/gin-contrib/cors from 1.4.0 to 1.5.0 (#2388)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								e4e0a5e3f6
							
						
					
				
			
			
				commit
				
					
						66b77acb1c
					
				
			
		
					 169 changed files with 173005 additions and 56262 deletions
				
			
		
							
								
								
									
										26
									
								
								vendor/github.com/go-playground/validator/v10/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								vendor/github.com/go-playground/validator/v10/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -247,7 +247,7 @@ Example #2 | |||
| This validates that the value is not the data types default zero value. | ||||
| For numbers ensures value is not zero. For strings ensures value is | ||||
| not "". For slices, maps, pointers, interfaces, channels and functions | ||||
| ensures the value is not nil. | ||||
| ensures the value is not nil. For structs ensures value is not the zero value when using WithRequiredStructEnabled. | ||||
| 
 | ||||
| 	Usage: required | ||||
| 
 | ||||
|  | @ -256,7 +256,7 @@ ensures the value is not nil. | |||
| The field under validation must be present and not empty only if all | ||||
| the other specified fields are equal to the value following the specified | ||||
| field. For strings ensures value is not "". For slices, maps, pointers, | ||||
| interfaces, channels and functions ensures the value is not nil. | ||||
| interfaces, channels and functions ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_if | ||||
| 
 | ||||
|  | @ -273,7 +273,7 @@ Examples: | |||
| The field under validation must be present and not empty unless all | ||||
| the other specified fields are equal to the value following the specified | ||||
| field. For strings ensures value is not "". For slices, maps, pointers, | ||||
| interfaces, channels and functions ensures the value is not nil. | ||||
| interfaces, channels and functions ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_unless | ||||
| 
 | ||||
|  | @ -290,7 +290,7 @@ Examples: | |||
| The field under validation must be present and not empty only if any | ||||
| of the other specified fields are present. For strings ensures value is | ||||
| not "". For slices, maps, pointers, interfaces, channels and functions | ||||
| ensures the value is not nil. | ||||
| ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_with | ||||
| 
 | ||||
|  | @ -307,7 +307,7 @@ Examples: | |||
| The field under validation must be present and not empty only if all | ||||
| of the other specified fields are present. For strings ensures value is | ||||
| not "". For slices, maps, pointers, interfaces, channels and functions | ||||
| ensures the value is not nil. | ||||
| ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_with_all | ||||
| 
 | ||||
|  | @ -321,7 +321,7 @@ Example: | |||
| The field under validation must be present and not empty only when any | ||||
| of the other specified fields are not present. For strings ensures value is | ||||
| not "". For slices, maps, pointers, interfaces, channels and functions | ||||
| ensures the value is not nil. | ||||
| ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_without | ||||
| 
 | ||||
|  | @ -338,7 +338,7 @@ Examples: | |||
| The field under validation must be present and not empty only when all | ||||
| of the other specified fields are not present. For strings ensures value is | ||||
| not "". For slices, maps, pointers, interfaces, channels and functions | ||||
| ensures the value is not nil. | ||||
| ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: required_without_all | ||||
| 
 | ||||
|  | @ -352,7 +352,7 @@ Example: | |||
| The field under validation must not be present or not empty only if all | ||||
| the other specified fields are equal to the value following the specified | ||||
| field. For strings ensures value is not "". For slices, maps, pointers, | ||||
| interfaces, channels and functions ensures the value is not nil. | ||||
| interfaces, channels and functions ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: excluded_if | ||||
| 
 | ||||
|  | @ -369,7 +369,7 @@ Examples: | |||
| The field under validation must not be present or empty unless all | ||||
| the other specified fields are equal to the value following the specified | ||||
| field. For strings ensures value is not "". For slices, maps, pointers, | ||||
| interfaces, channels and functions ensures the value is not nil. | ||||
| interfaces, channels and functions ensures the value is not nil. For structs ensures value is not the zero value. | ||||
| 
 | ||||
| 	Usage: excluded_unless | ||||
| 
 | ||||
|  | @ -879,8 +879,6 @@ This is done using os.Stat and github.com/gabriel-vasile/mimetype | |||
| 
 | ||||
| 	Usage: image | ||||
| 
 | ||||
| # URL String | ||||
| 
 | ||||
| # File Path | ||||
| 
 | ||||
| This validates that a string value contains a valid file path but does not | ||||
|  | @ -1384,6 +1382,12 @@ This validates that a string value contains a valid cron expression. | |||
| 
 | ||||
| 	Usage: cron | ||||
| 
 | ||||
| # SpiceDb ObjectID/Permission/Object Type | ||||
| 
 | ||||
| This validates that a string is valid for use with SpiceDb for the indicated purpose. If no purpose is given, a purpose of 'id' is assumed. | ||||
| 
 | ||||
| 	Usage: spicedb=id|permission|type | ||||
| 
 | ||||
| # Alias Validators and Tags | ||||
| 
 | ||||
| Alias Validators and Tags | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue