From e233788f696606b9166aa19ce6bd6c436cd19fca Mon Sep 17 00:00:00 2001 From: dudaodong Date: Wed, 26 Jan 2022 15:25:52 +0800 Subject: [PATCH] comment: add comment for List struct --- datastructure/list.go | 1 + 1 file changed, 1 insertion(+) diff --git a/datastructure/list.go b/datastructure/list.go index d567f77..ffaa9ef 100644 --- a/datastructure/list.go +++ b/datastructure/list.go @@ -8,6 +8,7 @@ import ( "reflect" ) +// List is a linear table, implemented with slice type List[T any] struct { data []T }