MCPcopy Index your code
hub / github.com/labstack/echo / TestEchoContext

Function TestEchoContext

echo_test.go:1208–1213  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1206}
1207
1208func TestEchoContext(t *testing.T) {
1209 e := New()
1210 c := e.AcquireContext()
1211 assert.IsType(t, new(Context), c)
1212 e.ReleaseContext(c)
1213}
1214
1215func TestPreMiddlewares(t *testing.T) {
1216 e := New()

Callers

nothing calls this directly

Calls 3

NewFunction · 0.85
AcquireContextMethod · 0.80
ReleaseContextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…