test

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnexpectedReadError = errors.New("Unexpected stdin read")

Functions

func RandomBool

func RandomBool() bool

RandomBool ...

func RandomString

func RandomString() string

RandomString returns a random UUID based string...

func RandomStrings

func RandomStrings() []string

RandomStrings returns a slice of random strings

func RandomUint

func RandomUint() uint

RandomUint ...

Types

type EmulatedStdinReader

type EmulatedStdinReader struct {
	// contains filtered or unexported fields
}

func NewEmulatedStdinReader

func NewEmulatedStdinReader(content string) *EmulatedStdinReader

func (*EmulatedStdinReader) Read

func (s *EmulatedStdinReader) Read(buf []byte) (read int, err error)

Jump to

Keyboard shortcuts

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