Home / Function/ getFieldCache() — fiber Function Reference

getFieldCache() — fiber Function Reference

Architecture documentation for the getFieldCache() function in mapping.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  3aedfe5e_1d6b_c889_0940_8862df009efb["getFieldCache()"]
  5a1aea01_8a49_a350_626b_5da5e78187fd["mapping.go"]
  3aedfe5e_1d6b_c889_0940_8862df009efb -->|defined in| 5a1aea01_8a49_a350_626b_5da5e78187fd
  0924903c_1cba_479d_882f_6c9c245c09c1["equalFieldType()"]
  0924903c_1cba_479d_882f_6c9c245c09c1 -->|calls| 3aedfe5e_1d6b_c889_0940_8862df009efb
  style 3aedfe5e_1d6b_c889_0940_8862df009efb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binder/mapping.go lines 266–283

func getFieldCache(aliasTag string) *sync.Map {
	switch aliasTag {
	case "header":
		return &headerFieldCache
	case "respHeader":
		return &respHeaderFieldCache
	case "cookie":
		return &cookieFieldCache
	case "form":
		return &formFieldCache
	case "uri":
		return &uriFieldCache
	case "query":
		return &queryFieldCache
	}

	panic("unknown alias tag: " + aliasTag)
}

Domain

Subdomains

Defined In

Called By

Frequently Asked Questions

What does getFieldCache() do?
getFieldCache() is a function in the fiber codebase, defined in binder/mapping.go.
Where is getFieldCache() defined?
getFieldCache() is defined in binder/mapping.go at line 266.
What calls getFieldCache()?
getFieldCache() is called by 1 function(s): equalFieldType.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free