random

package
v0.0.0-...-e2de2ce Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedGlobal

func SeedGlobal()

SeedGlobal can be used to initialize the global thread-safe pseudo-random generator from the standard library. This should be called from all init() functions for all binaries.

func TraceID

func TraceID() trace.TraceID

TraceID generates a random OpenTelemetry Trace ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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