MCPcopy Index your code
hub / github.com/kataras/iris / addPathWord

Function addPathWord

mvc/controller_method_parser.go:153–159  ·  view source on GitHub ↗
(path, w string)

Source from the content-addressed store, hash-verified

151type CustomPathWordFunc func(path, w string, wordIndex int) string
152
153func addPathWord(path, w string) string {
154 if path[len(path)-1] != '/' {
155 path += "/"
156 }
157 path += strings.ToLower(w)
158 return path
159}
160
161func (p *methodParser) parse() (method, path string, err error) {
162 funcArgPos := 0

Callers 2

parseMethod · 0.85
parsePathParamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…