util

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(e error)

func DicesToNumber

func DicesToNumber(dices []int) int

DicesToNumber returns the number value from the dices slice.

func GeneratePassphrase

func GeneratePassphrase(wordlist []string, delim string) string

func RollDices

func RollDices(n int, d int) []int

RollDices returns a slice with n results, where n is the number rolls and d is the dice number of sides.

Types

This section is empty.

Jump to

Keyboard shortcuts

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