alibaba/IOC-golang
[BUG] Proxy AOP layer returns reference value but not copy of value.
Open
#46 opened on Jun 20, 2022
good first issue
Repository metrics
- Stars
- (1,230 stars)
- PR merge metrics
- (PR metrics pending)
Description
With param like slice: []string , Here is an example:
// input is []string{"hello")
func (i *Impl) Write(input []string){
input.append(input, "world")
}
The watch values would shows the final value of the param: []string{"hello", "world", but not the real param value []string{"hello"}