• Stars
    star
    21
  • Rank 1,047,415 (Top 22 %)
  • Language
    Go
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

copy files for humans

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.