Skip to content

mleonidas/collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

collections

This is just playing around with golang 1.18beta1 generics

Don't use this for anything real!!! :)

Example

items := slice.From(1,2,3,4,5,5,5,6)

filtered := slice.Filter(items, func(i int) bool {
    return i == 5
})

About

golang 1.18 generics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages