iox

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist

func Exist(path string) bool

func ExistDir

func ExistDir(path string) bool

func ExistFile

func ExistFile(path string) bool

func ReadAllByte

func ReadAllByte(file string) (bs []byte, err error)

func ReadAllLines

func ReadAllLines(file string) (strs []string, err error)

func ReadAllText

func ReadAllText(file string) (str string, err error)

func WriteAllBytes

func WriteAllBytes(file string, content []byte) error

func WriteAllLines added in v0.0.14

func WriteAllLines(file string, content []string) error

func WriteAllText

func WriteAllText(file, content string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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