Home / Function/ calculateAbsolutePath() — gin Function Reference

calculateAbsolutePath() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cbe58699_430c_c923_47a5_d8708be7f7ab["calculateAbsolutePath()"]
  bb0950a7_92e3_6165_a0b8_1b0015af3328["Group()"]
  bb0950a7_92e3_6165_a0b8_1b0015af3328 -->|calls| cbe58699_430c_c923_47a5_d8708be7f7ab
  018f1037_5a3b_d88a_c8ba_70efaa627f40["handle()"]
  018f1037_5a3b_d88a_c8ba_70efaa627f40 -->|calls| cbe58699_430c_c923_47a5_d8708be7f7ab
  9b868e6d_3117_438b_b3c3_0ac0d7b6b61a["createStaticHandler()"]
  9b868e6d_3117_438b_b3c3_0ac0d7b6b61a -->|calls| cbe58699_430c_c923_47a5_d8708be7f7ab
  style cbe58699_430c_c923_47a5_d8708be7f7ab fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

routergroup.go lines 250–252

func (group *RouterGroup) calculateAbsolutePath(relativePath string) string {
	return joinPaths(group.basePath, relativePath)
}

Domain

Subdomains

Frequently Asked Questions

What does calculateAbsolutePath() do?
calculateAbsolutePath() is a function in the gin codebase.
What calls calculateAbsolutePath()?
calculateAbsolutePath() is called by 3 function(s): Group, createStaticHandler, handle.

Analyze Your Own Codebase

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

Try Supermodel Free