Skip to content

Instantly share code, notes, and snippets.

@cuongld2

cuongld2/combinations.go

Last active Dec 10, 2020
Embed
What would you like to do?
Generate golang combinations
package main
import (
"fmt"
"generate-queries/utils"
"github.com/mxschmitt/golang-combinations"
)
func main() {
combines := combinations.All(utils.BMI_RANGE())
//fmt.Println(combines)
for _, each := range combines {
fmt.Println(eachLocal)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment