io

package
v0.0.0-...-7c4d03a Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileExists

func CheckFileExists(filePath string) bool

CheckFileExists check file exists

func CreateFileOfAppend

func CreateFileOfAppend(filePath string) (*os.File, error)

CreateFileOfAppend create file of append

func CreateFileOfTrunc

func CreateFileOfTrunc(filePath string) (*os.File, error)

CreateFileOfTrunc create file of trunc

func MkdireAll

func MkdireAll(path string) error

MkdireAll mkdir all

func ReadAll

func ReadAll(path string) string

ReadAll read all

func ReadAllBytes

func ReadAllBytes(path string) ([]byte, error)

ReadAllBytes read all bytes

func WriteFile

func WriteFile(path, content string, isOverride bool) error

WriteFile write file

Types

This section is empty.

Jump to

Keyboard shortcuts

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