fieldName() — fiber Function Reference
Architecture documentation for the fieldName() function in mapping.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 9b3abcd4_ab6d_a5d6_fc1c_7dcefeb5e11b["fieldName()"] 5a1aea01_8a49_a350_626b_5da5e78187fd["mapping.go"] 9b3abcd4_ab6d_a5d6_fc1c_7dcefeb5e11b -->|defined in| 5a1aea01_8a49_a350_626b_5da5e78187fd ff5020ca_11ae_230b_e44f_8630ed808405["buildFieldInfo()"] ff5020ca_11ae_230b_e44f_8630ed808405 -->|calls| 9b3abcd4_ab6d_a5d6_fc1c_7dcefeb5e11b style 9b3abcd4_ab6d_a5d6_fc1c_7dcefeb5e11b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
binder/mapping.go lines 229–242
func fieldName(f *reflect.StructField, aliasTag string) string {
if f == nil {
return ""
}
name := f.Tag.Get(aliasTag)
if name == "" {
name = f.Name
} else if first, _, found := strings.Cut(name, ","); found {
name = first
}
return utils.ToLower(name)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does fieldName() do?
fieldName() is a function in the fiber codebase, defined in binder/mapping.go.
Where is fieldName() defined?
fieldName() is defined in binder/mapping.go at line 229.
What calls fieldName()?
fieldName() is called by 1 function(s): buildFieldInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free