Skip to content

v1.14.0

Compare
Choose a tag to compare
@marrow16 marrow16 released this 28 Jan 13:46
· 14 commits to main since this release
74fe976

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