seed

package
v1.7.17 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 3 Imported by: 190

Documentation

Overview

Package seed provides an initializer for the global math/rand seed.

Deprecated: Do not rely on the global seed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTimeAndRand deprecated

func WithTimeAndRand()

WithTimeAndRand seeds the global math rand generator with nanoseconds XOR'ed with a crypto component if available for uniqueness.

Deprecated: Do not rely on the global seed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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