Skip to content

cleversoap/go-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

go-cp

Copy file function in golang. Returns nil on success otherwise an error if there were any issues.

import "github.com/cleversoap/go-cp"

func main() {
  err := cp.Copy("somefile.txt", "somefile.copy.txt")
  if err != nil {
    panic(err)
  } else {
    // Successfully copied
  }
}

About

Copy file function in golang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages