Problem: an error is reported when proto unmarshal is used, and the following information is prompted:
cannot use promoRule (variable of type *db.PromotionRuleSet) as protoreflect.ProtoMessage value in argument to proto.Unmarshal: missing method ProtoReflect (compile)
Solution:
Import package from
"google.golang.org/protobuf/proto"
Change to
"github.com/golang/protobuf/proto"
Read More:
- OpenGL program running prompt glut32.dll missing problem
- pyvista error: root:GLEW could Missing GL version settlement method
- 0028opengl program running prompt glut32.dll missing one of the solutions
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution
- Eclipse automatic prompt setting method and optimization
- Python error prompt: typeerror: ‘builtin’_ function_ or_ method‘ object is not subscriptable
- Command prompt window prompt system error 5, access denied?
- New user’s shell, delete prompt ^ H, up and down prompt ^ A ^ B, tab key is useless
- Zend studio HTML error prompt close, PHP “error prompt” open and close the correct way
- “Method does not override method from its superclass”
- Difference between isempty method and isblank method in stringutils
- Error resolution by Ubuntu: aclocal-1.14 ‘is missing on your system
- Solve the problem that power view in Excel prompts activate method of oleobject class failed or activate method like oleobject is invalid
- Required request body is missing with ContentCachingRequestWrapper
- E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?
- ORA-00907:missing right parenthesis
- Solve the problem: Something’s wrong–perhaps a missing \item. \end{thebibliography}
- [Solved] ERROR: commit 60acc70: missing Change-Id in message footer
- Grpc client access server prompt: RPC error: code = unimplemented desc = unknown service possible reasons