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