mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 15:42:26 -05:00 
			
		
		
		
	[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#3888)
This commit is contained in:
		
					parent
					
						
							
								85e17b3e78
							
						
					
				
			
			
				commit
				
					
						252a17a691
					
				
			
		
					 97 changed files with 3821 additions and 1018 deletions
				
			
		
							
								
								
									
										8
									
								
								vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -26,7 +26,7 @@ var byteType = reflect.TypeOf(byte(0)) | |||
| // The type is the underlying field type (e.g., a repeated field may be | ||||
| // represented by []T, but the Go type passed in is just T). | ||||
| // A list of enum value descriptors must be provided for enum fields. | ||||
| // This does not populate the Enum or Message (except for weak message). | ||||
| // This does not populate the Enum or Message. | ||||
| // | ||||
| // This function is a best effort attempt; parsing errors are ignored. | ||||
| func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescriptors) protoreflect.FieldDescriptor { | ||||
|  | @ -109,9 +109,6 @@ func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescri | |||
| 			} | ||||
| 		case s == "packed": | ||||
| 			f.L1.EditionFeatures.IsPacked = true | ||||
| 		case strings.HasPrefix(s, "weak="): | ||||
| 			f.L1.IsWeak = true | ||||
| 			f.L1.Message = filedesc.PlaceholderMessage(protoreflect.FullName(s[len("weak="):])) | ||||
| 		case strings.HasPrefix(s, "def="): | ||||
| 			// The default tag is special in that everything afterwards is the | ||||
| 			// default regardless of the presence of commas. | ||||
|  | @ -183,9 +180,6 @@ func Marshal(fd protoreflect.FieldDescriptor, enumName string) string { | |||
| 		// the exact same semantics from the previous generator. | ||||
| 		tag = append(tag, "json="+jsonName) | ||||
| 	} | ||||
| 	if fd.IsWeak() { | ||||
| 		tag = append(tag, "weak="+string(fd.Message().FullName())) | ||||
| 	} | ||||
| 	// The previous implementation does not tag extension fields as proto3, | ||||
| 	// even when the field is defined in a proto3 file. Match that behavior | ||||
| 	// for consistency. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue