go-chassis icon indicating copy to clipboard operation
go-chassis copied to clipboard

Incorrect annotation

Open peterqiu07 opened this issue 1 year ago • 0 comments

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"

peterqiu07 avatar Nov 03 '22 06:11 peterqiu07