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

Method peek

mvc/controller_method_parser.go:103–108  ·  view source on GitHub ↗
(idx int)

Source from the content-addressed store, hash-verified

101}
102
103func (l *methodLexer) peek(idx int) string {
104 if idx < len(l.words) {
105 return l.words[idx]
106 }
107 return ""
108}
109
110func (l *methodLexer) peekNext() (w string) {
111 return l.peek(l.cur + 1)

Callers 2

nextMethod · 0.95
peekNextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected