Documentation ¶
Index ¶
- func Exists(path string) (bool, error)
- func GetFileModTime(path string) int64
- func ReadFile(filename string) (map[string]string, error)
- func ReadFileAsByte(path string) []byte
- func StartCmd(cmd string) (*exec.Cmd, io.ReadCloser, io.ReadCloser, error)
- func WriteFile(userFile string, content string)
- func WriteTemplate(tplName, filePath, tplContent string, data interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileModTime ¶
func ReadFileAsByte ¶
func StartCmd ¶
func StartCmd(cmd string) (*exec.Cmd, io.ReadCloser, io.ReadCloser, error)
func WriteTemplate ¶
func WriteTemplate(tplName, filePath, tplContent string, data interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.