zeromicro / goctl-swagger

MIT License
214 stars 137 forks source link

req 多个tag时报错。 #115

Closed zxfrocky closed 1 month ago

zxfrocky commented 1 month ago

type (
LoginReq { Type int form:"type,optional" json:"type,optional,omitempty" Name string form:"name,optional json:"name,optional,omitempty" Password string form:"password,optional json:"password,optional,omitempty" Timestamp int64 form:"timestamp,optional" json:"timestamp,optional,omitempty" Webrtc bool form:"webrtc,optional" json:"webrtc,optional,omitempty" } )

req 多个tag时, 报 panic: form:"name,optional json:"name,optional,omitempty", bad syntax for struct tag pair 错误