Categorygithub.com/royleo35/go-generics
repository
0.0.0-20241105121356-b5015aa9964b
Repository: https://github.com/royleo35/go-generics.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

go-generics

实现了go泛型库,具体包括:

1.泛型算法,在algorithm目录

2.slice泛型函数,在glice目录

3.泛型gset,包括了泛型集合操作,在gset目录

4.map泛型函数,在gmap目录

5.slice的链式操作和map的链式操作,在gconvert目录

6.移植了标准库list,形成了泛型list,在glist目录

7.基于泛型list实现了泛型hashmap,在hashmap目录

8.实现了泛型红黑树,在rbtree目录

9.基于泛型红黑树封装了泛型treemap,在treemap目录

10.还有一些工具类的函数,在tools目录

11.泛型并发安全的数据结构,在gsync目录,包括sync.Map等