Closed Mats-Tan closed 10 months ago
Instead of using the code in the example, creating my own module and writing it myself is no problem. I this this problem may be caused by the inconsistency between the version of the go module in the example and my version.
Hello, are you importing capnproto.org/go/capnp/v3
? I suspect you are importing an older version. Note that you may need to go get capnproto.org/go/capnp/v3@main
to pull the latest version. Note that the @main
part is important.
May I ask why the following error occurs when I run the go-capnp case? I have checked the location of the error and these definitions all exist.
I use Windows10, glang language version is 1.21.1, capnp version is 1.0.1.