MCPcopy
hub / github.com/gin-gonic/gin / must

Function must

context_test.go:73–77  ·  context_test.go::must
(err error)

Source from the content-addressed store, hash-verified

71}
72
73func must(err error) {
74 if err != nil {
75 panic(err.Error())
76 }
77}
78
79// TestContextFile tests the Context.File() method
80func TestContextFile(t *testing.T) {

Callers 2

createMultipartRequestFunction · 0.85

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected