Closed zealotjx closed 7 months ago
For now, I think we only should single name of same type. If you can handle the multiple names, welcome to contribute the codes.
@mrproliu Should we move this to discussion?
Sure. It's just enhancement feature I think.
Search before asking
Apache SkyWalking Component
OAP server (apache/skywalking)
What happened
When using go agent to enhance a function with multiple parameters of the same type, If the function is in the following format:
func myFunc(x, y, z string) {}
, it can only be obtainedin invocation.Args()
ofInterceptor.BeforeInvoke
a parameterx
What you expected to happen
I think we should be able to get the three parameters x, y and z
How to reproduce
Enhance a function like the following
func myFunc(x, y, z string) {}
Anything else
I checked the source code and found that when traversing dst.Field.Names, break was used. Should it be continue?
Are you willing to submit a pull request to fix on your own?
Code of Conduct