Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samuell/combine

A small Go program to create combinations of all values (strings) in a set of arrays
https://github.com/samuell/combine

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

Combinator generator
====================

Install
-------

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

Usage
-----

```bash
$ ./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
```