Open rhettli opened 4 years ago
....\pkg\mod\github.com\openset\php2go@v0.0.0-20200118041952-0d6edc7c98fe\php\directory.go:27:22: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
Compilation finished with exit code 2
// Closedir - Close directory's handle func Closedir(fd int) (err error) { return syscall.Close(fd) }
作者可以给版本打个标签,防止master分支被污染了
@rhettli 这个项目不能在生产中用,只能用于个人学习。里面实现的函数都没有做过完整的测试
github.com/openset/php2go/php
....\pkg\mod\github.com\openset\php2go@v0.0.0-20200118041952-0d6edc7c98fe\php\directory.go:27:22: cannot use fd (type int) as type syscall.Handle in argument to syscall.Close
Compilation finished with exit code 2