filesystem

package
v0.1.0-beta1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(path string) (err error)

CreateFile is used to create file

func HomeDir

func HomeDir() string

HomeDir returns the home directory for the current user

func IsWindows

func IsWindows() bool

Check OS Windows

func MkDir

func MkDir(path string, mode os.FileMode) (err error)

MkDir is used to create directory

func ReadFile

func ReadFile(path string) (value []byte, err error)

func WriteStrToFile

func WriteStrToFile(path, value string, mode os.FileMode) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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