mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 16:12:24 -05:00 
			
		
		
		
	[chore] Update all but bun libraries (#526)
* update all but bun libraries Signed-off-by: kim <grufwub@gmail.com> * remove my personal build script changes Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								e06bf9cc9a
							
						
					
				
			
			
				commit
				
					
						b56dae8120
					
				
			
		
					 350 changed files with 305366 additions and 5943 deletions
				
			
		
							
								
								
									
										10
									
								
								vendor/golang.org/x/net/context/go17.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/golang.org/x/net/context/go17.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -54,11 +54,11 @@ func WithDeadline(parent Context, deadline time.Time) (Context, CancelFunc) { | |||
| // Canceling this context releases resources associated with it, so code should | ||||
| // call cancel as soon as the operations running in this Context complete: | ||||
| // | ||||
| // 	func slowOperationWithTimeout(ctx context.Context) (Result, error) { | ||||
| // 		ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) | ||||
| // 		defer cancel()  // releases resources if slowOperation completes before timeout elapses | ||||
| // 		return slowOperation(ctx) | ||||
| // 	} | ||||
| //	func slowOperationWithTimeout(ctx context.Context) (Result, error) { | ||||
| //		ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) | ||||
| //		defer cancel()  // releases resources if slowOperation completes before timeout elapses | ||||
| //		return slowOperation(ctx) | ||||
| //	} | ||||
| func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { | ||||
| 	return WithDeadline(parent, time.Now().Add(timeout)) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue