Home / Function/ Static() — gin Function Reference

Static() — gin Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  b0a2205c_6664_de22_abba_2b3de7132fa2["Static()"]
  1d9080b1_eec3_bb36_4e07_d20ee3dad994["StaticFS()"]
  b0a2205c_6664_de22_abba_2b3de7132fa2 -->|calls| 1d9080b1_eec3_bb36_4e07_d20ee3dad994
  style b0a2205c_6664_de22_abba_2b3de7132fa2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

routergroup.go lines 197–199

func (group *RouterGroup) Static(relativePath, root string) IRoutes {
	return group.StaticFS(relativePath, Dir(root, false))
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does Static() do?
Static() is a function in the gin codebase.
What does Static() call?
Static() calls 1 function(s): StaticFS.

Analyze Your Own Codebase

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

Try Supermodel Free