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