mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-15 02:02:27 +08:00
comment: add comment for List struct
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// List is a linear table, implemented with slice
|
||||||
type List[T any] struct {
|
type List[T any] struct {
|
||||||
data []T
|
data []T
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user