mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 08:02:27 -05:00 
			
		
		
		
	[chore]: Bump github.com/gin-contrib/cors from 1.5.0 to 1.7.0 (#2745)
This commit is contained in:
		
					parent
					
						
							
								4c155aa847
							
						
					
				
			
			
				commit
				
					
						e24efcac8b
					
				
			
		
					 158 changed files with 11727 additions and 4290 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/github.com/go-playground/validator/v10/options.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/go-playground/validator/v10/options.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -14,3 +14,13 @@ func WithRequiredStructEnabled() Option { | |||
| 		v.requiredStructEnabled = true | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| // WithPrivateFieldValidation activates validation for unexported fields via the use of the `unsafe` package. | ||||
| // | ||||
| // By opting into this feature you are acknowledging that you are aware of the risks and accept any current or future | ||||
| // consequences of using this feature. | ||||
| func WithPrivateFieldValidation() Option { | ||||
| 	return func(v *Validate) { | ||||
| 		v.privateFieldValidation = true | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue