Create new list.
()
| 10 | |
| 11 | // Create new list. |
| 12 | func NewCyclic[T any]() *Cyclic[T] { |
| 13 | return &Cyclic[T]{} |
| 14 | } |
| 15 | |
| 16 | // Inserting the first node is a special case. It will |
| 17 | // point to itself. For other cases, the node will be added |
nothing calls this directly
no outgoing calls
no test coverage detected