mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 06:12:25 -06:00 
			
		
		
		
	[chore]: Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 (#1855)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								23705b31e4
							
						
					
				
			
			
				commit
				
					
						55aacaf4b0
					
				
			
		
					 138 changed files with 27543 additions and 25484 deletions
				
			
		
							
								
								
									
										9
									
								
								vendor/github.com/goccy/go-json/internal/encoder/compiler.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/github.com/goccy/go-json/internal/encoder/compiler.go
									
										
									
										generated
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -617,6 +617,13 @@ func (c *Compiler) structCode(typ *runtime.Type, isPtr bool) (*StructCode, error
 | 
			
		|||
	return code, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func toElemType(t *runtime.Type) *runtime.Type {
 | 
			
		||||
	for t.Kind() == reflect.Ptr {
 | 
			
		||||
		t = t.Elem()
 | 
			
		||||
	}
 | 
			
		||||
	return t
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (c *Compiler) structFieldCode(structCode *StructCode, tag *runtime.StructTag, isPtr, isOnlyOneFirstField bool) (*StructFieldCode, error) {
 | 
			
		||||
	field := tag.Field
 | 
			
		||||
	fieldType := runtime.Type2RType(field.Type)
 | 
			
		||||
| 
						 | 
				
			
			@ -626,7 +633,7 @@ func (c *Compiler) structFieldCode(structCode *StructCode, tag *runtime.StructTa
 | 
			
		|||
		key:           tag.Key,
 | 
			
		||||
		tag:           tag,
 | 
			
		||||
		offset:        field.Offset,
 | 
			
		||||
		isAnonymous:   field.Anonymous && !tag.IsTaggedKey,
 | 
			
		||||
		isAnonymous:   field.Anonymous && !tag.IsTaggedKey && toElemType(fieldType).Kind() == reflect.Struct,
 | 
			
		||||
		isTaggedKey:   tag.IsTaggedKey,
 | 
			
		||||
		isNilableType: c.isNilableType(fieldType),
 | 
			
		||||
		isNilCheck:    true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue