mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 06:02:26 -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
				
			
		
							
								
								
									
										2
									
								
								vendor/github.com/go-playground/validator/v10/util.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/github.com/go-playground/validator/v10/util.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -234,7 +234,7 @@ func asInt(param string) int64 { | |||
| func asIntFromTimeDuration(param string) int64 { | ||||
| 	d, err := time.ParseDuration(param) | ||||
| 	if err != nil { | ||||
| 		// attempt parsing as an an integer assuming nanosecond precision | ||||
| 		// attempt parsing as an integer assuming nanosecond precision | ||||
| 		return asInt(param) | ||||
| 	} | ||||
| 	return int64(d) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue