Skip to content

hugocarreira/go-decent-copy

Repository files navigation

GoDoc Build Status Go Report Card codecov

Go-Decent-Copy

go-decent-copy provides a copy file for humans

Usage

package main

import "github.com/hugocarreira/go-decent-copy"

func main() {
    execPath, _ := os.Getwd()

    fileOrigin := fmt.Sprintf(execPath + "/testCopy.txt")
    fileDestiny := fmt.Sprintf(execPath + "/testCopied.txt")
    err := Copy(fileOrigin, fileDestiny)
    if err != nil {
        t.Fatalf("Error in copy file : %#v ", err.Error())
    }
}

License

This project is licensed under the MIT License.

About

copy files for humans

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •