Thrift golang reports an error when doing rpc service.

official example of thrift, always reporting an error:

according to the practice of the official website, generate the code, copy the shared and tutorial directories in the code to the src directory of GOPATH, go get git.apache.org/thrift.git/lib/go/thrift, and then execute the server, and the client. This error occurs

Mar.07,2021

is the version of go you are using > = 1.7.6 ?


it is best to use the latest version of golang.


mine is the same mistake. Go version 1.9, have you solved the inconsistency between the thrift package and the thrift version corresponding to


golang.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b359e4-2bfb2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b359e4-2bfb2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?