Help us shape the future of Go! Take the 2026 Go Developer Survey

testrand

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: GPL-3.0, LGPL-3.0, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address() common.Address

Address generates a random address.

func Bytes

func Bytes(n int) []byte

Bytes generates a random byte slice with specified length.

func Hash

func Hash() common.Hash

Hash generates a random hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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