Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugocarreira/go-decent-copy
copy files for humans
https://github.com/hugocarreira/go-decent-copy
copy files go golang
Last synced: about 2 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-03T16:44:55.000Z (over 4 years ago)
- Last Synced: 2024-01-30T04:48:29.089Z (5 months ago)
- Topics: copy, files, go, golang
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 21
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- 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-extra - go-decent-copy - 10-16T07:08:24Z|2020-01-03T16:44:55Z| (File Handling / Advanced Console UIs)
- 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 / Advanced Console UIs)
- awesome-go-projects - go-decent-copy - Copy files for humans. (File Handling / Standard CLI)
- 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-with-framework - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- awesome-go-stars - go-decent-copy(stars: 21) - Copy files for humans. (File Handling / Search and Analytic Databases)
- awesome-go-cn - go-decent-copy
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- 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 / Advanced Console UIs)
- repo-1316-awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- repo-1211-awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- awesome-Char - go-decent-copy - Copy files for humans. (File Handling / Advanced Console UIs)
- awesome-reader - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- Go-awesome - go-decent-copy - Copy files for humans. (File Handling / Search and Analytic Databases)
- go-awesome-cn-star - go-decent-copy
- awesome-go-cn - go-decent-copy - decent-copy) [![godoc][D]](https://godoc.org/github.com/hugocarreira/go-decent-copy) (文件处理 / 检索及分析资料库)
- awesome-go-handwritten - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- awesome-go - go-decent-copy - Copy files for humans. (Files / Advanced Console UIs)
- 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 / Advanced Console UIs)
- awesome-go-zh - go-decent-copy - decent-copy) (文件处理 / 检索及分析资料库)
- awesome-go-cn - go-decent-copy
- 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 - ★ 6 (Files)
README
[![GoDoc](https://godoc.org/github.com/hugocarreira/go-decent-copy?status.svg)](https://godoc.org/github.com/hugocarreira/go-decent-copy) [![Build Status](https://travis-ci.org/hugocarreira/go-decent-copy.svg?branch=master)](https://travis-ci.org/hugocarreira/go-decent-copy) [![Go Report Card](https://goreportcard.com/badge/github.com/hugocarreira/go-decent-copy)](https://goreportcard.com/report/github.com/hugocarreira/go-decent-copy) [![codecov](https://codecov.io/gh/hugocarreira/go-decent-copy/branch/master/graph/badge.svg)](https://codecov.io/gh/hugocarreira/go-decent-copy)
# Go-Decent-Copy
go-decent-copy provides a copy file for humans
## Usage
```go
package mainimport "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).