Goldziher / go-utils

Simple and performant utilies using Go generics inspired by JavaScript and Python
https://goldziher.github.io/go-utils/
MIT License
46 stars 13 forks source link

Adding an InSlice func #14

Closed vhoen closed 1 year ago

vhoen commented 1 year ago

Adding InSlice which is a function that returns true or false whether an item is found in a slice

Goldziher commented 1 year ago

There is already https://github.com/Goldziher/go-utils/blob/main/sliceutils/sliceutils.go#L136

vhoen commented 1 year ago

My mistake, I didn't see it.