1 Add support of Windows
2 Modify the function's argument type compare algorithm
(in function "containeArgs" at weave/ast.go)
check function's every argument,include the arguments not use package.
For example:
func blah(a, b string, x int) error {
fmt.Println(strconv.Itoa(x))
return nil
}
and the weave file:
aspect {
pointcut: execute(blah(string,string,int) int)
advice: {
before: {
fmt.Println("call blah: x=",x)
}
}
}
1 Add support of Windows 2 Modify the function's argument type compare algorithm (in function "containeArgs" at weave/ast.go) check function's every argument,include the arguments not use package.
For example: func blah(a, b string, x int) error { fmt.Println(strconv.Itoa(x)) return nil }
and the weave file: aspect { pointcut: execute(blah(string,string,int) int) advice: { before: { fmt.Println("call blah: x=",x) } } }