io

package
v0.0.0-...-81b12a4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirIfNotExist

func CreateDirIfNotExist(dirPath string) (err error)

CreateDirIfNotExist ...

func DoesDirExist

func DoesDirExist(dirPath string) bool

DoesDirExist ...

func DoesFileExist

func DoesFileExist(filePath string) bool

DoesFileExist ...

func FilenameTrimExt

func FilenameTrimExt(filePath string) string

FilenameTrimExt ...

func LoadYAML

func LoadYAML(filePath string, dataPtr interface{}) (err error)

LoadYAML ...

func MustCreateNewDir

func MustCreateNewDir(dirPath string) (err error)

MustCreateNewDir ...

func ReadLines

func ReadLines(filePath string) (lines []string, err error)

ReadLines ...

func SaveYAML

func SaveYAML(filePath string, data interface{}) (err error)

SaveYAML ...

func WriteFile

func WriteFile(outPath string, lines ...string) error

WriteFile ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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