Documentation ¶
Index ¶
- func Btoi(val bool) int
- func DiceRoll(dieSides int, numDice int, mod int, drop int, total bool) []int
- func IndexOf(element string, data []string) int
- func IntIn(a int, list []int) bool
- func RandListSelection(stringList []string) string
- func RandMapKeySelection(mapList map[string]int) string
- func RandString(n int) string
- func RankMapStringInt(values map[string]int) []string
- func ReadLines(path string) ([]string, error)
- func RemoveInt(slice []int, s int) []int
- func Roll(dieSides int, numDice int, mod int) int
- func RollMax(dieSides int, numDice int, mod int) int
- func RollMin(numDice int, mod int) int
- func StringIn(a string, list []string) bool
- func StringInLike(a string, list []string) bool
- func StringInLower(a string, list []string) bool
- func Sum(input []int) int
- func Title(s string) string
- func WhereAt(subLoc int, charLoc int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandListSelection ¶
func RandMapKeySelection ¶
func RandString ¶
func RankMapStringInt ¶
func StringInLike ¶
func StringInLower ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.