Releases: go-andiamo/chioas
Releases · go-andiamo/chioas
v1.16.3
v1.16.2
v1.16.1
v1.16.0
v1.15.0
v1.14.2
v1.14.1
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