mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 06:52:26 -05:00 
			
		
		
		
	[chore] fix typo in slice.go (#2219)
This commit is contained in:
		
					parent
					
						
							
								b987653cc9
							
						
					
				
			
			
				commit
				
					
						1b848aa1e5
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								internal/cache/slice.go
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								internal/cache/slice.go
									
										
									
									
										vendored
									
									
								
							|  | @ -22,7 +22,7 @@ import ( | ||||||
| 	"golang.org/x/exp/slices" | 	"golang.org/x/exp/slices" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| // SliceCache wraps a ttl.Cache to provide simple loader-callback | // SliceCache wraps a simple.Cache to provide simple loader-callback | ||||||
| // functions for fetching + caching slices of objects (e.g. IDs). | // functions for fetching + caching slices of objects (e.g. IDs). | ||||||
| type SliceCache[T any] struct { | type SliceCache[T any] struct { | ||||||
| 	*simple.Cache[string, []T] | 	*simple.Cache[string, []T] | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue