rand

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(s string) int64

Hash computes a compact hash of the given string.

func NewRand

func NewRand(seed string) *rand.Rand

NewRand creates a rand.Rand from a given seed string.

func NewSource

func NewSource(seed string) rand.Source

NewSource creates rand.Source from a given seed string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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