gopy icon indicating copy to clipboard operation
gopy copied to clipboard

example not working on go1.18

Open icexin opened this issue 3 years ago • 2 comments

I followed the build steps in README with go1.18. After the building process, this is no function in out/hi.py, just an empty py file with some setup code. When i switch to go.15, everything works ok.

icexin avatar Apr 17 '22 16:04 icexin

@icexin 这个工具依赖于golang.org/x/tools/go/packages,升级一下golang.org/x/tools就可以用了

#275

https://github.com/go-python/gopy/blob/2eb22acf0d70cd7e54a7bf6ea9efc04873266eb9/gen.go#L111

Theodoree avatar Apr 28 '22 14:04 Theodoree

Thanks!

icexin avatar May 06 '22 10:05 icexin