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

iox

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistFile

func ExistFile(path string) bool

func ReadAllLines

func ReadAllLines(r io.Reader) ([]string, error)

func WriteFile

func WriteFile(r io.Reader, path string) error

Types

type TmpFile

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

func NewTmpFile

func NewTmpFile(r io.Reader, path string) (*TmpFile, error)

func (*TmpFile) Close

func (f *TmpFile) Close() error

func (*TmpFile) Name

func (t *TmpFile) Name() string

func (*TmpFile) Open

func (t *TmpFile) Open() (*os.File, error)

Jump to

Keyboard shortcuts

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