Documentation ¶
Index ¶
- type TElement
- type TList
- func (l *TList) Clear()
- func (l *TList) Delete(e *TElement) error
- func (l *TList) Front() *TElement
- func (l *TList) Init() *TList
- func (l *TList) Insert(val interface{}) *TElement
- func (l *TList) Len() int
- func (l *TList) Pop() *TElement
- func (l *TList) Push(val interface{}) *TElement
- func (l *TList) Tail() *TElement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TElement ¶
type TElement struct { // 保存的值。需要明确信息后,进行强制转换 person,ok := e.Value.(Persion) Value interface{} // contains filtered or unexported fields }
*
@author: lgh @date: 2022/2/23 @note
* 列表保存结构
Click to show internal directories.
Click to hide internal directories.