[feat] RouteParamType 命名规范
This commit is contained in:
parent
6501b5ed0f
commit
c8cda2d8db
16
routing.go
16
routing.go
@ -55,14 +55,14 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
STRING RouteParamType = "string"
|
ReqString RouteParamType = "string"
|
||||||
BOOL RouteParamType = "bool"
|
ReqBool RouteParamType = "bool"
|
||||||
NUMBER RouteParamType = "number"
|
ReqNumber RouteParamType = "number"
|
||||||
INTEGER RouteParamType = "integer"
|
ReqInteger RouteParamType = "integer"
|
||||||
FLOAT RouteParamType = "float"
|
ReqFloat RouteParamType = "float"
|
||||||
JSON RouteParamType = "json"
|
ReqJson RouteParamType = "json"
|
||||||
ARRAY RouteParamType = "array"
|
ReqArray RouteParamType = "array"
|
||||||
ANY RouteParamType = "any"
|
ReqAny RouteParamType = "any"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
Reference in New Issue
Block a user