set default handler value (#228)

* set default value

* set default value
master
kingxt 4 years ago committed by GitHub
parent 7a27fa50a1
commit 348184904c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}
`

Loading…
Cancel
Save