FromQuery() — fiber Function Reference
Architecture documentation for the FromQuery() function in extractors.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD f6894c04_3974_70a4_614d_9df75b0423d4["FromQuery()"] 9369d97d_10d6_c835_81b9_8542715b2822["extractors.go"] f6894c04_3974_70a4_614d_9df75b0423d4 -->|defined in| 9369d97d_10d6_c835_81b9_8542715b2822 style f6894c04_3974_70a4_614d_9df75b0423d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
extractors/extractors.go lines 343–355
func FromQuery(param string) Extractor {
return Extractor{
Extract: func(c fiber.Ctx) (string, error) {
value := c.Query(param)
if value == "" {
return "", ErrNotFound
}
return value, nil
},
Key: param,
Source: SourceQuery,
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does FromQuery() do?
FromQuery() is a function in the fiber codebase, defined in extractors/extractors.go.
Where is FromQuery() defined?
FromQuery() is defined in extractors/extractors.go at line 343.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free