https://github.com/hyphennn/glambda
a go lambda and stream function repo without any dependency inspired by bytedance lang/gg
https://github.com/hyphennn/glambda
generic gmap go golang gslice lambda stream
Last synced: 5 months ago
JSON representation
a go lambda and stream function repo without any dependency inspired by bytedance lang/gg
- Host: GitHub
- URL: https://github.com/hyphennn/glambda
- Owner: hyphennn
- License: mit
- Created: 2023-12-08T01:50:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-06-23T11:39:40.000Z (about 1 year ago)
- Last Synced: 2025-06-23T12:36:37.916Z (about 1 year ago)
- Topics: generic, gmap, go, golang, gslice, lambda, stream
- Language: Go
- Homepage: https://hyphennn.com/
- Size: 53.7 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Use bytedance/gg
lang/gg 已开源,请使用[正版 gg](https://github.com/bytedance/gg)
本仓库仍可能不定期更新,用于作者自己的一些存量私人仓库,但不会处理任何 issue,有任何问题请直接使用 bytedance/gg~
# Quick Start
```shell
go get github.com/hyphennn/glambda@latest
```
灵感来源:字节跳动 code.byted.org/lang/gg
超简易版本的 lang/gg 包, 用于简化一些常用的泛型、闭包工具,并且不引入任何第三方依赖以及过多的性能消耗
此包在作者离职时仍未开源,也未找到一个类似的仓库,因此基于 lang/gg 的一些思想做了此包,但未使用其 Iter 的做法以及一些 Rust
化的思想,个人觉得没啥意义。
另:想做一些 Stream API,但调整了很久,还是发现意义不大,因此也没动了,能力有限。
随缘更新,如果运气好有人用并不幸发现有 bug,欢迎 issue/email,我会第一时间修复