8000 GitHub - dkharms/sliceutils
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dkharms/sliceutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card CI

sliceutils

Some generic stuff for slices.

Here you can find frequently used methods for slices.

Available methods

func Unique[T comparable](s ...T) []T

Unique returns unique elements from slice.

func Filter[T any](f func(T) bool, s ...T) []T

Filter returns values from slice which satisfies given predicate.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0