file

package
v0.0.0-...-a1cd0b2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirectory

func CreateDirectory(dir string, perms os.FileMode) error

CreateDirectory creates a directory

func CreateFile

func CreateFile(file string) (*os.File, bool, error)

CreateFile creates a file if it doens't already exist

func ReadFile

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

Reads content from a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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