https://github.com/xgfone/go-generics
Provide some common generic functions.
https://github.com/xgfone/go-generics
functions generic generics go go-generics golang golang-generics map maps slice slices
Last synced: 3 months ago
JSON representation
Provide some common generic functions.
- Host: GitHub
- URL: https://github.com/xgfone/go-generics
- Owner: xgfone
- License: apache-2.0
- Created: 2023-03-30T14:37:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-03T07:03:25.000Z (over 1 year ago)
- Last Synced: 2025-04-16T14:29:32.401Z (6 months ago)
- Topics: functions, generic, generics, go, go-generics, golang, golang-generics, map, maps, slice, slices
- Language: Go
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Generics [](https://github.com/xgfone/go-generics/actions/workflows/go.yml) [](https://pkg.go.dev/github.com/xgfone/go-generics) [](https://raw.githubusercontent.com/xgfone/go-generics/master/LICENSE)
Provide some extra generic functions except for the functions in stdlib `slices` and `maps`, supporting `Go1.21+`.
## Installation
```shell
$ go get -u github.com/xgfone/go-generics
```