go-chassis
go-chassis copied to clipboard
Incorrect annotation
https://github.com/go-chassis/go-chassis/blob/495ed81e9b2b0420c66a02c44f867a9ab2f26d93/server/restful/router.go#L30
As for ResourceFunc, you must set this field or itself? It would be better if the annotation is "the func this API calls. you must set this field or ResourceFuncName, if you set both, ResourceFunc will be used"