MCPcopy Create free account
hub / github.com/kataras/iris / StaticPath

Method StaticPath

context/route.go:43–43  ·  view source on GitHub ↗

StaticPath returns the static part of the original, registered route path. if /user/{id} it will return /user if /user/{id}/friend/{friendid:uint64} it will return /user too if /assets/{filepath:path} it will return /assets.

()

Source from the content-addressed store, hash-verified

41 // if /user/{id}/friend/{friendid:uint64} it will return /user too
42 // if /assets/{filepath:path} it will return /assets.
43 StaticPath() string
44
45 // ResolvePath returns the formatted path's %v replaced with the args.
46 ResolvePath(args ...string) string

Callers 1

WithSitemapFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected