mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-04 12:27:37 +03:00
Get list func from element
This commit is contained in:
parent
849d16c37b
commit
880f405c03
1 changed files with 4 additions and 0 deletions
|
@ -34,3 +34,7 @@ func (l *List[T]) Array() []T {
|
|||
}
|
||||
return array
|
||||
}
|
||||
|
||||
func (e *Element[T]) List() *List[T] {
|
||||
return e.list
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue