Documentation ¶
Index ¶
- func CreateFile(filepath string, filename string) (fo *os.File, err error)
- func ExtractTarGz(gzipStream io.Reader) string
- func InitFolder(folder_name string) error
- func MoveFile(sourcePath, destPath string) error
- func ReadLines(path string) ([]string, error)
- func RemoveFolderContents(dir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
Creates a file given a path and a name for the file
func ExtractTarGz ¶
func InitFolder ¶
Creates (if dont exists) a folder given a name
func ReadLines ¶
Auxiliar function to read lines from a file path. return a string array with all the lines in the file and an error if fails ->(lines, error)
func RemoveFolderContents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.