tioutil

package
v0.0.0-...-6a56cfb Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(t testing.TB, r io.Reader) []byte

func ReadDir

func ReadDir(t testing.TB, dirname string) []fs.FileInfo

func ReadFile

func ReadFile(t testing.TB, filename string) []byte

func TempDir

func TempDir(t testing.TB, dir, pattern string) (name string)

func TempFile

func TempFile(t testing.TB, dir, pattern string) (f *os.File)

func WriteFile

func WriteFile(t testing.TB, filename string, data []byte, perm fs.FileMode)

Types

This section is empty.

Jump to

Keyboard shortcuts

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