v1.14.0
Method.Handler
can now accept method expressions
For example, previous versions had to use string method names for handlers...
mdef := chioas.Method{
Handler: "PostFoos",
}
but now the handler can be set using a method expression, e.g...
mdef := chioas.Method{
Handler: (*myapi).PostFoos,
}
- handler can still be specified using strings
- handlers specified by method expressions aids refactoring and code navigation