crud icon indicating copy to clipboard operation
crud copied to clipboard

how to customize my own response serializer?

Open leedalei opened this issue 2 years ago • 1 comments

I‘m new in writing golang. It's there a way to use my own response serializer?

leedalei avatar Aug 29 '23 13:08 leedalei

Yes. You can customize a controller to make it. sshman shows examples to do so (you can find the related function UserGetSelf & UserGetSessions in controller.go, and they are registered in router.go).

cdfmlr avatar Aug 30 '23 01:08 cdfmlr