Commit c0240416 authored by Rahul A. Sutar's avatar Rahul A. Sutar
Browse files

Added method - RiteshP

parent 66b49239
Branches DevBranch
No related merge requests found
Showing with 4 additions and 0 deletions
......@@ -68,6 +68,10 @@ func ListDirectory(directoryPath string) ([]os.FileInfo, error) {
//Zip Zip
func Zip(source, target string) error {
source = filepath.Clean(source)
target = filepath.Clean(target)
zipfile, err := os.Create(target)
if err != nil {
return err
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment