Skip to content

Basic data structures using Go 1.18 preview generics

Notifications You must be signed in to change notification settings

jeffschoner/genericsds-go

Repository files navigation

Go 1.18 Preview Generics Data Structures

This repo is a playground for learning about the Go generics available in the 1.18 preview.

Data Structures

  • LinkedList: A linked list implementation for data of any type
  • Set: A set implementation for any comparable

Operations

  • Map: tranform one Collection to another, item by item
  • FlatMap: tranform one Collection to another, item by item, but with 0 to n output items

About

Basic data structures using Go 1.18 preview generics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages