📚 go-decent-copy - Awesome Go Library for File Handling
Copy files for humans.
🏷️ File Handling
📂 Libraries for handling files and file systems.
⭐ 22 stars
Detailed Description of go-decent-copy
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.