Friday, January 07, 2022

Generics in GoLang

gotipplay.golang.org

func Print[T any](s ...T) {
for _, v := range s {
fmt.Print(v)
}
}

 Generics in Go Explained with Code Examples


Generics in Go: Viva La Revolution!

No comments: