Skip to content

gillesdemey/go-generics-example

Repository files navigation

go-generics-example

Example code for Go generics.

Usage

$ go build -gcflags=-G=3

Requirements

Go 1.17 or later

Third-party packages that support Generics

  • go-generics-cache An in-memory key:value store/cache library written in Go 1.18 generics
  • dogs Dogs is a library that provides some useful types and functions borrowed from functional languages.
  • tuple Definition of n-tuple structs using type parameters.

Advertise

Go 言語にやってくる Generics は我々に何をもたらすのか

License

MIT

Author

Yasuhiro Matsumoto (a.k.a. mattn)

About

Example code for Go generics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.1%
  • Makefile 1.3%
  • Shell 0.6%