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

Method getURI

context/problem.go:62–73  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

60}
61
62func (p Problem) getURI(key string) string {
63 f, found := p[key]
64 if found {
65 if typ, ok := f.(string); ok {
66 if !isEmptyTypeURI(typ) {
67 return typ
68 }
69 }
70 }
71
72 return ""
73}
74
75// Updates "type" field to absolute URI, recursively.
76func (p Problem) updateURIsToAbs(ctx *Context) {

Callers 1

updateURIsToAbsMethod · 0.95

Calls 1

isEmptyTypeURIFunction · 0.85

Tested by

no test coverage detected