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
I have structs defined in a different package that are referenced from the main one. In this case msgpack generator ignores them, stating so:
main_test.go: TestRequest: service.RequestHeader: ignored.
Service package:
package service type RequestHeader struct { FieldA int `msg:"fielda"` }
main package:
type TestRequest struct { service.RequestHeader `msg:",flatten"` Data struct { Test int `msg:"test"` } `msg:"data"` }
If flatten tag is commented out, the message is different:
main_test.go: TestRequest: unresolved identifier: service.RequestHeader
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have structs defined in a different package that are referenced from the main one. In this case msgpack generator ignores them, stating so:
Service package:
main package:
If flatten tag is commented out, the message is different:
The text was updated successfully, but these errors were encountered: