other: 示例及 buffer README.md 更新

This commit is contained in:
kercylan98
2023-12-23 18:16:01 +08:00
parent eb28d42bf1
commit c3e1581289
3 changed files with 6 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ import (
)
func main() {
unbounded := buffer.NewUnboundedN[int]()
unbounded := buffer.NewUnbounded[int]()
for i := 0; i < 10; i++ {
unbounded.Put(i)
}