ioutil

package
v0.2.196 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Discard io.Writer = ioutil.Discard //devNull(0)

Functions

func NopCloser

func NopCloser(r io.Reader) io.ReadCloser

func ReadAll

func ReadAll(r io.Reader) ([]byte, error)

func ReadDir

func ReadDir(dirname string) ([]os.FileInfo, error)

func ReadFile

func ReadFile(filename string) ([]byte, error)

func TempDir

func TempDir(dir, pattern string) (name string, err error)

func TempFile

func TempFile(dir, pattern string) (f *vos.File, err error)

func WriteFile

func WriteFile(filename string, data []byte, perm os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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