Generate combinations from array in Go
Sometimes we need to generate combinations from arrays of strings to do some data manipulation. There is existing library in Go could help us do that.
Running this will show
[normal overweight obese]
[normal overweight underweight]
[normal obese underweight]
[overweight obese underweight]
[normal overweight obese underweight]
~~Hope it helps~~.