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
After a quick thinking, I think we can introduce a new type of aspect point (currently we have inst_struct, inst_file, and inst_func), and match the hook functions with these interfaces for injection.
Is your feature request related to a problem? Please describe.
go的有些内部组件都是根据接口约定的规则,文件散在各处,但都实现了同一个接口的方法,而这个方法就是需要追踪的方法,又没法在调用这个接口方法地方打桩,因为会有参数缺失,钩子函数也有被覆盖或者因规范不严格无法获取参数的问题。手动也没法注入其他代码进行追踪。
Describe the solution you'd like
我能想到的方式:1,自己定义打桩包自己引入;2,有没有可能根据接口约定实现追踪打桩注入的方式,3,在接口被调用处打桩方式,不知是否有其他解决方案
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: