MCPcopy
hub / github.com/gorilla/mux / GetName

Method GetName

route.go:162–164  ·  view source on GitHub ↗

GetName returns the name for the route, if any.

()

Source from the content-addressed store, hash-verified

160
161// GetName returns the name for the route, if any.
162func (r *Route) GetName() string {
163 return r.name
164}
165
166// ----------------------------------------------------------------------------
167// Matchers

Callers 2

TestSubrouterHeaderFunction · 0.80
TestMatchedRouteNameFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestSubrouterHeaderFunction · 0.64
TestMatchedRouteNameFunction · 0.64