utils

package
v0.0.0-...-7500b8b Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) (bool, error)

func GetFileModTime

func GetFileModTime(path string) int64

func ReadFile

func ReadFile(filename string) (map[string]string, error)

func ReadFileAsByte

func ReadFileAsByte(path string) []byte

func StartCmd

func StartCmd(cmd string) (*exec.Cmd, io.ReadCloser, io.ReadCloser, error)

func WriteFile

func WriteFile(userFile string, content string)

func WriteTemplate

func WriteTemplate(tplName, filePath, tplContent string, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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