Documentation
¶
Overview ¶
Package queue provides an implementation of the queue data structure in Go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue[T any] struct { // contains filtered or unexported fields }
Queue is an implementation of queue.
func (*Queue[T]) Back ¶
func (s *Queue[T]) Back() T
Back returns the value at the back of the queue.
Click to show internal directories.
Click to hide internal directories.