file

package
v0.0.0-...-7df0ded Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src string, dest string) error

CopyFile copy a file

func CreateFile

func CreateFile(file string) error

CreateFile creates a file and print status

func CreateSubfolder

func CreateSubfolder(path string) error

CreateSubfolder creates a folder recusively

func RemoveContents

func RemoveContents(dir string) error

RemoveContents remove contents of a specified directory

func RemoveFile

func RemoveFile(filename string) error

RemoveFile removes a file

func Unzip

func Unzip(src, dest string) error

Unzip a file in a destination path https://stackoverflow.com/questions/20357223/easy-way-to-unzip-file-with-golang

Types

This section is empty.

Jump to

Keyboard shortcuts

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