improve copy feature for package gfile

This commit is contained in:
John
2020-05-16 00:50:01 +08:00
parent 09e83e7b8d
commit acc2a6a353
4 changed files with 21 additions and 20 deletions

View File

@ -2,9 +2,11 @@ package main
import (
"fmt"
"github.com/gogf/gf/os/gfile"
)
func main() {
a := []int{}
fmt.Println(a[0])
s := `/Users/john/Workspace/Go/GOPATH/pkg/mod/github.com/nats-io/nats-server/v2@v2.1.4`
d := `/Users/john/Workspace/Go/GOPATH/src/github.com/nats-io/nats-server/v2`
fmt.Println(gfile.Copy(s, d))
}