getParamConstraintType() — fiber Function Reference
Architecture documentation for the getParamConstraintType() function in path.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 76a4cccb_e0f3_cb8c_6bca_84257b61ec2a["getParamConstraintType()"] bedec411_93e0_4024_219e_79649f60a9be["path.go"] 76a4cccb_e0f3_cb8c_6bca_84257b61ec2a -->|defined in| bedec411_93e0_4024_219e_79649f60a9be style 76a4cccb_e0f3_cb8c_6bca_84257b61ec2a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
path.go lines 668–701
func getParamConstraintType(constraintPart string) TypeConstraint {
switch constraintPart {
case ConstraintInt:
return intConstraint
case ConstraintBool:
return boolConstraint
case ConstraintFloat:
return floatConstraint
case ConstraintAlpha:
return alphaConstraint
case ConstraintGUID:
return guidConstraint
case ConstraintMinLen, ConstraintMinLenLower:
return minLenConstraint
case ConstraintMaxLen, ConstraintMaxLenLower:
return maxLenConstraint
case ConstraintLen:
return lenConstraint
case ConstraintBetweenLen, ConstraintBetweenLenLower:
return betweenLenConstraint
case ConstraintMin:
return minConstraint
case ConstraintMax:
return maxConstraint
case ConstraintRange:
return rangeConstraint
case ConstraintDatetime:
return datetimeConstraint
case ConstraintRegex:
return regexConstraint
default:
return noConstraint
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getParamConstraintType() do?
getParamConstraintType() is a function in the fiber codebase, defined in path.go.
Where is getParamConstraintType() defined?
getParamConstraintType() is defined in path.go at line 668.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free