php2go icon indicating copy to clipboard operation
php2go copied to clipboard

以下函数错误

Open rhettli opened this issue 5 years ago • 2 comments

github.com/openset/php2go/php

....\pkg\mod\github.com\openset\[email protected]\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)
}

rhettli avatar Aug 19 '20 02:08 rhettli

作者可以给版本打个标签,防止master分支被污染了

rhettli avatar Aug 19 '20 02:08 rhettli

@rhettli 这个项目不能在生产中用,只能用于个人学习。里面实现的函数都没有做过完整的测试

awesee avatar Aug 19 '20 02:08 awesee