1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 07:02:29 +08:00

refactor: rename linknode.go to node.go

This commit is contained in:
dudaodong
2022-02-04 09:21:35 +08:00
parent 5ab150cad3
commit 0e86244559
2 changed files with 1 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ import (
"fmt"
)
// SinglyLink is a linkedlist of node, which have a value and Pre points to previous node, Next points to a next node of the link.
// SinglyLink is a linked list. Whose node has a Value generics and Next pointer points to a next node of the link.
type SinglyLink[T any] struct {
Head *LinkNode[T]
length int