文件名称:go-cartesian-product:用于在golang中构建笛卡尔积的软件包
文件大小:4KB
文件格式:ZIP
更新时间:2024-06-07 22:00:03
golang cartesian-products Go
笛卡尔积 用于在golang中构建的软件包 请记住,因为的方式不会使您的结果“井井有条” 安装 为了开始, go get这个仓库: go get github.com/schwarmco/go-cartesian-product 用法 import ( "fmt" "github.com/schwarmco/go-cartesian-product" ) func main () { a := [] interface {}{ 1 , 2 , 3 } b := [] interface {}{ "a" , "b" , "c" } c := cartesian . Iter ( a , b ) // receive products through channel for product := range c {
【文件预览】:
go-cartesian-product-master
----cartesian_test.go(1009B)
----.gitignore(266B)
----README.md(1KB)
----LICENSE(1KB)
----cartesian.go(1KB)
----.travis.yml(48B)