mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 12:32:26 -05:00 
			
		
		
		
	[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
		
					parent
					
						
							
								00d38855d4
							
						
					
				
			
			
				commit
				
					
						a156188b3e
					
				
			
		
					 1135 changed files with 258905 additions and 137146 deletions
				
			
		
							
								
								
									
										26
									
								
								vendor/google.golang.org/protobuf/internal/impl/extension.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								vendor/google.golang.org/protobuf/internal/impl/extension.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -9,8 +9,8 @@ import ( | |||
| 	"sync" | ||||
| 	"sync/atomic" | ||||
| 
 | ||||
| 	pref "google.golang.org/protobuf/reflect/protoreflect" | ||||
| 	piface "google.golang.org/protobuf/runtime/protoiface" | ||||
| 	"google.golang.org/protobuf/reflect/protoreflect" | ||||
| 	"google.golang.org/protobuf/runtime/protoiface" | ||||
| ) | ||||
| 
 | ||||
| // ExtensionInfo implements ExtensionType. | ||||
|  | @ -45,7 +45,7 @@ type ExtensionInfo struct { | |||
| 	// since the message may no longer implement the MessageV1 interface. | ||||
| 	// | ||||
| 	// Deprecated: Use the ExtendedType method instead. | ||||
| 	ExtendedType piface.MessageV1 | ||||
| 	ExtendedType protoiface.MessageV1 | ||||
| 
 | ||||
| 	// ExtensionType is the zero value of the extension type. | ||||
| 	// | ||||
|  | @ -83,31 +83,31 @@ const ( | |||
| 	extensionInfoFullInit      = 2 | ||||
| ) | ||||
| 
 | ||||
| func InitExtensionInfo(xi *ExtensionInfo, xd pref.ExtensionDescriptor, goType reflect.Type) { | ||||
| func InitExtensionInfo(xi *ExtensionInfo, xd protoreflect.ExtensionDescriptor, goType reflect.Type) { | ||||
| 	xi.goType = goType | ||||
| 	xi.desc = extensionTypeDescriptor{xd, xi} | ||||
| 	xi.init = extensionInfoDescInit | ||||
| } | ||||
| 
 | ||||
| func (xi *ExtensionInfo) New() pref.Value { | ||||
| func (xi *ExtensionInfo) New() protoreflect.Value { | ||||
| 	return xi.lazyInit().New() | ||||
| } | ||||
| func (xi *ExtensionInfo) Zero() pref.Value { | ||||
| func (xi *ExtensionInfo) Zero() protoreflect.Value { | ||||
| 	return xi.lazyInit().Zero() | ||||
| } | ||||
| func (xi *ExtensionInfo) ValueOf(v interface{}) pref.Value { | ||||
| func (xi *ExtensionInfo) ValueOf(v interface{}) protoreflect.Value { | ||||
| 	return xi.lazyInit().PBValueOf(reflect.ValueOf(v)) | ||||
| } | ||||
| func (xi *ExtensionInfo) InterfaceOf(v pref.Value) interface{} { | ||||
| func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) interface{} { | ||||
| 	return xi.lazyInit().GoValueOf(v).Interface() | ||||
| } | ||||
| func (xi *ExtensionInfo) IsValidValue(v pref.Value) bool { | ||||
| func (xi *ExtensionInfo) IsValidValue(v protoreflect.Value) bool { | ||||
| 	return xi.lazyInit().IsValidPB(v) | ||||
| } | ||||
| func (xi *ExtensionInfo) IsValidInterface(v interface{}) bool { | ||||
| 	return xi.lazyInit().IsValidGo(reflect.ValueOf(v)) | ||||
| } | ||||
| func (xi *ExtensionInfo) TypeDescriptor() pref.ExtensionTypeDescriptor { | ||||
| func (xi *ExtensionInfo) TypeDescriptor() protoreflect.ExtensionTypeDescriptor { | ||||
| 	if atomic.LoadUint32(&xi.init) < extensionInfoDescInit { | ||||
| 		xi.lazyInitSlow() | ||||
| 	} | ||||
|  | @ -144,13 +144,13 @@ func (xi *ExtensionInfo) lazyInitSlow() { | |||
| } | ||||
| 
 | ||||
| type extensionTypeDescriptor struct { | ||||
| 	pref.ExtensionDescriptor | ||||
| 	protoreflect.ExtensionDescriptor | ||||
| 	xi *ExtensionInfo | ||||
| } | ||||
| 
 | ||||
| func (xtd *extensionTypeDescriptor) Type() pref.ExtensionType { | ||||
| func (xtd *extensionTypeDescriptor) Type() protoreflect.ExtensionType { | ||||
| 	return xtd.xi | ||||
| } | ||||
| func (xtd *extensionTypeDescriptor) Descriptor() pref.ExtensionDescriptor { | ||||
| func (xtd *extensionTypeDescriptor) Descriptor() protoreflect.ExtensionDescriptor { | ||||
| 	return xtd.ExtensionDescriptor | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue