You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/quickstart/idl/greet.api

11 lines
124 B
Plaintext

syntax = "v1"
type resp {
msg string `json:"msg"`
}
service greet {
@handler ping
post /ping returns (resp)
}