Home / Function/ updateRouteTrees() — gin Function Reference

updateRouteTrees() — gin Function Reference

Architecture documentation for the updateRouteTrees() function in gin.go from the gin codebase.

Function go CoreEngine Routing calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  5779b911_d67f_64b6_4e9e_e82714134e58["updateRouteTrees()"]
  f5bd8f1c_9c06_9fce_2929_687a39509ca8["Run()"]
  f5bd8f1c_9c06_9fce_2929_687a39509ca8 -->|calls| 5779b911_d67f_64b6_4e9e_e82714134e58
  ad688401_fa47_7785_93aa_339d349cdca0["ServeHTTP()"]
  ad688401_fa47_7785_93aa_339d349cdca0 -->|calls| 5779b911_d67f_64b6_4e9e_e82714134e58
  4e930a84_3d28_9f13_af94_f6e4ca517101["updateRouteTree()"]
  5779b911_d67f_64b6_4e9e_e82714134e58 -->|calls| 4e930a84_3d28_9f13_af94_f6e4ca517101
  style 5779b911_d67f_64b6_4e9e_e82714134e58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

gin.go lines 517–521

func (engine *Engine) updateRouteTrees() {
	for _, tree := range engine.trees {
		updateRouteTree(tree.root)
	}
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does updateRouteTrees() do?
updateRouteTrees() is a function in the gin codebase.
What does updateRouteTrees() call?
updateRouteTrees() calls 1 function(s): updateRouteTree.
What calls updateRouteTrees()?
updateRouteTrees() is called by 2 function(s): Run, ServeHTTP.

Analyze Your Own Codebase

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

Try Supermodel Free