Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use buf (type []byte) as type []int8 in field value #72

Closed
XingFang opened this issue Nov 15, 2018 · 2 comments
Closed

cannot use buf (type []byte) as type []int8 in field value #72

XingFang opened this issue Nov 15, 2018 · 2 comments

Comments

@XingFang
Copy link

XingFang commented Nov 15, 2018

Tars/go/tars/servant.go:52:3: cannot use buf (type []byte) as type []int8 in field value
This is a problem with the go compiler or a tars file error?
env:
tarsgo 1.0
go 1.11.2
tars2go 1.0

@sandyskies
Copy link
Contributor

Hi, This is becuase ,Tars2go tool version is not compatible with tars2go framework , please update both.
go get -u github.com/TarsCloud/TarsGo/tars
go install $GOPATH/src/github.com/TarsCloud/TarsGo/tars/tools/tars2go

@sandyskies
Copy link
Contributor

@XingFang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants