DEV Community

Discussion on: ✨ How will Go Generics in Go 1.18 change your life? 💜

Collapse
 
lightsouldev profile image
Nurzhan Kozhanov

Very nice, thanks
Little typo:
func JoinString(elements ...string) []int {
return elements
}

it's supposed to be a "[]string" type

Collapse
 
42atomys profile image
42Atomys

Oups ! Fixed 🤭😇