chance

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package chance provides functionality for easily dealing with chances nolint: gosec

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIndex

func GetIndex(length int) int

GetIndex get index based on given length

func IsChance

func IsChance(chance float64) bool

IsChance returns booleans for given chance

Types

This section is empty.

Jump to

Keyboard shortcuts

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