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

Function varGroupName

regexp.go:308–310  ·  view source on GitHub ↗

varGroupName builds a capturing group name for the indexed variable.

(idx int)

Source from the content-addressed store, hash-verified

306
307// varGroupName builds a capturing group name for the indexed variable.
308func varGroupName(idx int) string {
309 return "v" + strconv.Itoa(idx)
310}
311
312// ----------------------------------------------------------------------------
313// routeRegexpGroup

Callers 1

newRouteRegexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected