You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My message is defined like this: message xxx { string name = 1; uint64 size = 2; string uuid = 3; ... }
And I generate the mock through --gogrpcmock_out=. --gogrpcmock_opt=paths=source_relative
the *.mock.go can be generated but the field 'Size' is always in th form of 'Size_' which lead to an error like unknown field Size_ in struct literalcompiler[MissingLitField](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source%3Dgopls#MissingLitField)json
Is this because I am using the plugin in a wrong way?
The text was updated successfully, but these errors were encountered:
close this one since I have got the answer.I cannot rememeber it clearly since it's been some time. THe reason is that I should use the gogo not original go-proc
My message is defined like this:
message xxx { string name = 1; uint64 size = 2; string uuid = 3; ... }
And I generate the mock through
--gogrpcmock_out=. --gogrpcmock_opt=paths=source_relative
the *.mock.go can be generated but the field 'Size' is always in th form of 'Size_' which lead to an error like
unknown field Size_ in struct literalcompiler[MissingLitField](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal?utm_source%3Dgopls#MissingLitField)
jsonIs this because I am using the plugin in a wrong way?
The text was updated successfully, but these errors were encountered: