We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
messagepack结构体中,map的key只能为string。 如: //go:generate msgp type TestStruct struct { TestMap map[string]int } 若为 //go:generate msgp type TestStruct struct { TestMap map[int]int } 在RPC调用时会造成数据丢失
The text was updated successfully, but these errors were encountered:
No branches or pull requests
messagepack结构体中,map的key只能为string。
如:
//go:generate msgp
type TestStruct struct {
TestMap map[string]int
}
若为
//go:generate msgp
type TestStruct struct {
TestMap map[int]int
}
在RPC调用时会造成数据丢失
The text was updated successfully, but these errors were encountered: