[feat] RouteParamType 命名规范

This commit is contained in:
what 2024-05-09 11:35:23 +08:00
parent 6501b5ed0f
commit c8cda2d8db

View File

@ -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 (