service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameRandomize

type GameRandomize struct{}

GameRandomize is a struct that implements GameRandomizer interface that handles functions to randomize data to create games.

func NewGameRandomizer

func NewGameRandomizer() GameRandomize

NewGameRandomizer is a constructor for creating a new instance of GameRandomize.

func (GameRandomize) Randomize

func (g GameRandomize) Randomize(_ context.Context, amountOfGames, amountOfNumbersPerGame int) ([]domain.Game, error)

Randomize is an function for randomizing luck numbers to create games.

Jump to

Keyboard shortcuts

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