Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 441 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 441 Bytes

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