math

package
v2.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max added in v2.0.5

func Max[T constraints.Ordered](values ...T) T

Max returns the maximum of values.

func Min added in v2.0.5

func Min[T constraints.Ordered](values ...T) T

Min returns the minimum of values.

func RandBackoffSeconds added in v2.0.5

func RandBackoffSeconds(initBackoff float64, maxBackoff float64, base float64, exp int) time.Duration

func RandString

func RandString(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