fileutil

package module
v0.0.1 Latest Latest
Warning

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

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

README

file_util

Go lang file operation helper methods

How to use?

go get -u https://github.com/TheScenery/file_util
Zip

Zip a file or dir use zip method

fileutil.Zip("xxx.zip", "srcDir")
UnZip

Un zip a file

fileutil.UnZip("dstDir", "xxx.zip")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnZip

func UnZip(dst, src string) error

func Zip

func Zip(dst, src string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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