Discover Packages
github.com/keep-network/go-ethereum
swarm
testutil
package
Version:
v1.8.19
Opens a new window with list of versions in this module.
Published: Nov 28, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types RandomBytes(seed, length) RandomReader(seed, length) TempFileWithContent(t, content)
Documentation
¶
func RandomBytes(seed, length int ) []byte
RandomBytes returns pseudo-random deterministic result
because test fails must be reproducible
TempFileWithContent is a helper function that creates a temp file that contains the following string content then closes the file handle
it returns the complete file path
Source Files
¶
Click to show internal directories.
Click to hide internal directories.