go-cms
go-cms copied to clipboard
clone下来后go run main.go依赖helpers报错
C:\Users\admin\Desktop\go-cms>go run main.go go: downloading github.com/xiya-team/helpers v1.0.5 go: extracting github.com/xiya-team/helpers v1.0.5 go: finding github.com/xiya-team/helpers v1.0.5
github.com/xiya-team/helpers
D:\gopath\pkg\mod\github.com\xiya-team\[email protected]\directory.go:23:22: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
请用最新helpers版本
1.0.6版本最新了,还是报这个错 go version go1.14.1 windows/amd64
windows上运行修改一下 directory.go:23:22 的 fd int 为 fd syscall.Handle 即可。