Skip to content

Instantly share code, notes, and snippets.

@cuongld2
Last active December 10, 2020 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cuongld2/7e33be953091061b10dd2a4623469e89 to your computer and use it in GitHub Desktop.
Save cuongld2/7e33be953091061b10dd2a4623469e89 to your computer and use it in GitHub Desktop.
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