mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:52:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/gin-contrib/gzip from 1.0.1 to 1.1.0 (#3639)
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/gin-contrib/gzip/releases) - [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/gzip/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: github.com/gin-contrib/gzip 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
					
						
							
								8cfae010a9
							
						
					
				
			
			
				commit
				
					
						4d423102c1
					
				
			
		
					 519 changed files with 156968 additions and 132058 deletions
				
			
		
							
								
								
									
										16
									
								
								vendor/google.golang.org/protobuf/internal/impl/message.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								vendor/google.golang.org/protobuf/internal/impl/message.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -30,8 +30,8 @@ type MessageInfo struct { | |||
| 	// Desc is the underlying message descriptor type and must be populated. | ||||
| 	Desc protoreflect.MessageDescriptor | ||||
| 
 | ||||
| 	// Exporter must be provided in a purego environment in order to provide | ||||
| 	// access to unexported fields. | ||||
| 	// Deprecated: Exporter will be removed the next time we bump | ||||
| 	// protoimpl.GenVersion. See https://github.com/golang/protobuf/issues/1640 | ||||
| 	Exporter exporter | ||||
| 
 | ||||
| 	// OneofWrappers is list of pointers to oneof wrapper struct types. | ||||
|  | @ -79,6 +79,9 @@ func (mi *MessageInfo) initOnce() { | |||
| 	if mi.initDone == 1 { | ||||
| 		return | ||||
| 	} | ||||
| 	if opaqueInitHook(mi) { | ||||
| 		return | ||||
| 	} | ||||
| 
 | ||||
| 	t := mi.GoReflectType | ||||
| 	if t.Kind() != reflect.Ptr && t.Elem().Kind() != reflect.Struct { | ||||
|  | @ -133,6 +136,9 @@ type structInfo struct { | |||
| 	extensionOffset offset | ||||
| 	extensionType   reflect.Type | ||||
| 
 | ||||
| 	lazyOffset     offset | ||||
| 	presenceOffset offset | ||||
| 
 | ||||
| 	fieldsByNumber        map[protoreflect.FieldNumber]reflect.StructField | ||||
| 	oneofsByName          map[protoreflect.Name]reflect.StructField | ||||
| 	oneofWrappersByType   map[reflect.Type]protoreflect.FieldNumber | ||||
|  | @ -145,6 +151,8 @@ func (mi *MessageInfo) makeStructInfo(t reflect.Type) structInfo { | |||
| 		weakOffset:      invalidOffset, | ||||
| 		unknownOffset:   invalidOffset, | ||||
| 		extensionOffset: invalidOffset, | ||||
| 		lazyOffset:      invalidOffset, | ||||
| 		presenceOffset:  invalidOffset, | ||||
| 
 | ||||
| 		fieldsByNumber:        map[protoreflect.FieldNumber]reflect.StructField{}, | ||||
| 		oneofsByName:          map[protoreflect.Name]reflect.StructField{}, | ||||
|  | @ -175,6 +183,10 @@ fieldLoop: | |||
| 				si.extensionOffset = offsetOf(f, mi.Exporter) | ||||
| 				si.extensionType = f.Type | ||||
| 			} | ||||
| 		case "lazyFields", "XXX_lazyUnmarshalInfo": | ||||
| 			si.lazyOffset = offsetOf(f, mi.Exporter) | ||||
| 		case "XXX_presence": | ||||
| 			si.presenceOffset = offsetOf(f, mi.Exporter) | ||||
| 		default: | ||||
| 			for _, s := range strings.Split(f.Tag.Get("protobuf"), ",") { | ||||
| 				if len(s) > 0 && strings.Trim(s, "0123456789") == "" { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue