MCPcopy
hub / github.com/gin-gonic/gin / calculateAbsolutePath

Method calculateAbsolutePath

routergroup.go:250–252  ·  view source on GitHub ↗
(relativePath string)

Source from the content-addressed store, hash-verified

248}
249
250func (group *RouterGroup) calculateAbsolutePath(relativePath string) string {
251 return joinPaths(group.basePath, relativePath)
252}
253
254func (group *RouterGroup) returnObj() IRoutes {
255 if group.root {

Callers 3

GroupMethod · 0.95
handleMethod · 0.95
createStaticHandlerMethod · 0.95

Calls 1

joinPathsFunction · 0.85

Tested by

no test coverage detected