Search before asking
Enhancement Request
This issue is a subproject issue of eventmesh. the subproject address is:
https://github.com/apache/eventmesh-go

located at:
eventmesh-go/plugin/protocol/cloudevents/cloudevents.go
analysis and expalanation:
assigning the result of this type assertion to a variable (switch msg := msg.(type)) could eliminate type assertions in switch cases
Describe the solution you'd like

Are you willing to submit PR?