diff --git a/tools/goctl/api/apigen/gen.go b/tools/goctl/api/apigen/gen.go index f31bf63e..0206192f 100644 --- a/tools/goctl/api/apigen/gen.go +++ b/tools/goctl/api/apigen/gen.go @@ -28,10 +28,10 @@ type response struct { } service {{.serviceName}} { - @handler // TODO: set handler name and delete this comment + @handler GetUser // TODO: set handler name and delete this comment get /users/id/:userId(request) returns(response) - @handler // TODO: set handler name and delete this comment + @handler CreateUser // TODO: set handler name and delete this comment post /users/create(request) } `