 package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v1.10.12-rc.1
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Oct  5, 2023
  
      
  
    License: BSD-3-Clause
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 2
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 18
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
  
  
      
  
  
    
    
    
      type Queue[T any] struct {
	
}
     
  
    
  
  
    
    
    
  NewQueue returns an empty heap. See QueueOf for more.
  
   
    
  
  
    
    
    
      func QueueOf[T any](less func(a, b T) bool, entries ...T) Queue[T]
     
  QueueOf returns a heap containing entries ordered by less.
  
   
    
  
  
    
    
    
      func (q *Queue[T]) Push(t T)
     
  
  
   
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.