You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info (
title: "type title here"
desc: "type desc here"
author: "type author here"
email: "type email here"
version: "type version here"
)
type request {
// TODO: add members here and delete this comment
A [5]uint8 json:"a"
}
type request2 {
// TODO: add members here and delete this comment
A []uint8 json:"a"
}
type response {}
@server (
group: template
)
service template { @handler handlerName // TODO: replace handler name and delete this comment
post /users/id (request) returns (response)
@handler handlerName2 // TODO: replace handler name and delete this comment
post /users/id2 (request2) returns (response)
}
Array not work
Slice work
The text was updated successfully, but these errors were encountered:
github.com/zeromicro/go-zero v1.6.6
syntax = "v1"
info (
title: "type title here"
desc: "type desc here"
author: "type author here"
email: "type email here"
version: "type version here"
)
type request {
// TODO: add members here and delete this comment
A [5]uint8
json:"a"
}
type request2 {
// TODO: add members here and delete this comment
A []uint8
json:"a"
}
type response {}
@server (
group: template
)
service template {
@handler handlerName // TODO: replace handler name and delete this comment
post /users/id (request) returns (response)
}
Array not work
Slice work
The text was updated successfully, but these errors were encountered: