generator

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNumbers

func GetNumbers(numbersList []int, lines, numPerLine int) [][]int

GetNumbers generates a list of lottery numbers based on the given parameters.

Parameters: - numbersList: a list of integers representing the available numbers for the lottery. - lines: an integer indicating the number of lines of lottery numbers to generate. - numPerLine: an integer indicating the number of numbers per line in the lottery.

Returns: A 2D slice of integers representing the generated lottery numbers.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL