juliangruber / Go Intersect
Licence: mit
Find the intersection of two iterable values
Stars: ✭ 72
Programming Languages
go
31211 projects - #10 most used programming language
go-intersect
Find the intersection of two iterable values.
This library provides multiple implementations which each have their strong and weak points.
Read the docs.
Installation
$ go get github.com/juliangruber/go-intersect
Example
import "github.com/juliangruber/go-intersect"
import "fmt"
func main() {
a := []int{1, 2, 3}
b := []int{2, 3, 4}
fmt.Println(intersect.Simple(a, b))
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].