Thursday, June 16, 2022

GoLang generics

 A gentle introduction to generics in Go – dominikbraun.io

type Node[T] struct { 
   value T 
}

n := Node[int] { 
   value: 5, 
}



No comments: