rand

package
v0.0.0-...-83cae81 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64() float64

Float64 returns a random number between 0 and 1 It will be granular to the ten-thousandths since this is a cribbage game and does not need finer floats than that

func Int

func Int() int

Int returns a random integer between 0 and 10000 Since this is a game of cribbage, we likely won't need any larger number

func Int64n

func Int64n(max int64) int64

func Intn

func Intn(max int) int

func String

func String(n int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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