https://github.com/hugocarreira/go-decent-copy
copy files for humans
https://github.com/hugocarreira/go-decent-copy
copy files go golang
Last synced: 9 months ago
JSON representation
copy files for humans
- Host: GitHub
- URL: https://github.com/hugocarreira/go-decent-copy
- Owner: hugocarreira
- License: mit
- Created: 2018-10-16T07:08:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T16:44:55.000Z (almost 6 years ago)
- Last Synced: 2025-01-26T08:26:38.199Z (10 months ago)
- Topics: copy, files, go, golang
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 22
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go - go-decent-copy - | - | - | (Files / Advanced Console UIs)
- awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- awesome-go-plus - go-decent-copy - Copy files for humans.  (File Handling / Search and Analytic Databases)
- fucking-awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go - go-decent-copy - copy files for humans - ★ 6 (Files)
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go-with-stars - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-Char - go-decent-copy - Copy files for humans. (File Handling / Advanced Console UIs)
- awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go-cn - go-decent-copy
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go-extra - go-decent-copy - 10-16T07:08:24Z|2020-01-03T16:44:55Z| (File Handling / Advanced Console UIs)
README
[](https://godoc.org/github.com/hugocarreira/go-decent-copy) [](https://travis-ci.org/hugocarreira/go-decent-copy) [](https://goreportcard.com/report/github.com/hugocarreira/go-decent-copy) [](https://codecov.io/gh/hugocarreira/go-decent-copy)
# Go-Decent-Copy
go-decent-copy provides a copy file for humans
## Usage
```go
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](LICENSE).