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

Function valueOf

context/handler.go:134–140  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

132type Handlers = []Handler
133
134func valueOf(v interface{}) reflect.Value {
135 if val, ok := v.(reflect.Value); ok {
136 return val
137 }
138
139 return reflect.ValueOf(v)
140}
141
142// HandlerName returns the handler's function name.
143// See `Context.HandlerName` method to get function name of the current running handler in the chain.

Callers 2

HandlerNameFunction · 0.70
HandlerFileLineFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…