files

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(pathElems ...string) (bool, error)

func ExistsFolder

func ExistsFolder(pathElems ...string) (bool, error)

func ReadFile

func ReadFile(pathElems ...string) ([]byte, error)

func ReadJSON

func ReadJSON(v interface{}, path string) error

func ReadUnmarshal

func ReadUnmarshal(v interface{}, path string, unmarshal UnmarshalFunc) error

Types

type UnmarshalFunc

type UnmarshalFunc func(data []byte, v interface{}) error

Jump to

Keyboard shortcuts

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