mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
improve copy feature for package gfile
This commit is contained in:
@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user