Skip to content

xakep666/unusual_generics

Folders and files

NameName
Last commit message
Last commit date
Sep 26, 2021
Sep 26, 2021
Sep 26, 2021
Mar 25, 2022
Mar 25, 2022
Mar 25, 2022
Sep 26, 2021
Sep 26, 2021
Sep 29, 2021
Sep 29, 2021
Oct 27, 2021
Oct 27, 2021
Nov 19, 2021
Mar 25, 2022
Mar 25, 2022
Nov 30, 2021
Sep 29, 2021

Repository files navigation

Unusual Generics

Run Tests Go Reference License: MIT

Type parameters or Generics in Go designed to reduce boilerplate for container data types like lists, graphs, etc. and functions like map, filter, reduce...

But it's possible to use them in other (I've named them 'unusual') cases. I'm collecting such cases in this repository. What's inside:

Feel free to open issue or pull request to add new one.

Note that until 1.18 release documentation on 'pkg.go.dev' will not be rendered.

About

Collection of unusual generics usecases in Go

Topics

Resources

License

Stars

Watchers

Forks

Languages