package
Version:
v0.0.0-...-c92c33a
Opens a new window with list of versions in this module.
Published: May 20, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Linker[T any] interface {
}
type List[T any] struct {
Head Node[T]
}
func (l *List[T]) PushBack(data T)
func (l *List[T]) PushFront(data T)
Node interface defines an interface for nodes in the linked list
so we can iterate them easier.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.