Reason for no copy function in Go


(Jim) #1

I would like to know the reason why we have a package like “errors” with two functions that everyone can write, but we haven’t a function that allows to copy file.

I ask this question because I don’t understand why Go does not provide a function to copy files since language like Rust and also C++ do


(George Calianu) #2

Well, not so straightforward but…

(see method1)