samuell / combine

A small Go program to create combinations of all values (strings) in a set of arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Combinator generator

Install

go get github.com/samuell/combine/...

Usage

$ ./combine a,b x,y,z 1,2,3,4
a, a, a, a, a, a, a, a, a, a, a, a, b, b, b, b, b, b, b, b, b, b, b, b
x, x, x, x, y, y, y, y, z, z, z, z, x, x, x, x, y, y, y, y, z, z, z, z
1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4

About

A small Go program to create combinations of all values (strings) in a set of arrays

License:MIT License


Languages

Language:Go 100.0%