MCPcopy Index your code
hub / github.com/devopsfaith/api2html / New

Method New

engine/factory.go:34–96  ·  view source on GitHub ↗

New creates a gin engine with the received config and the injected factories

(cfgPath string, devel bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

NewFunction · 0.80
TestNoopResponseFunction · 0.80
TestFactory_New_okFunction · 0.80
TestNewStaticHandlerFunction · 0.80
TestNewErrorHandlerFunction · 0.80
TestNewHandlerFunction · 0.80

Calls 6

newGinEngineMethod · 0.95
NewMustacheRendererFunction · 0.85
BuildMethod · 0.80
HandlerFuncMethod · 0.45
SetMethod · 0.45
StringMethod · 0.45

Tested by 12

TestNoopResponseFunction · 0.64
TestFactory_New_okFunction · 0.64
TestNewStaticHandlerFunction · 0.64
TestNewErrorHandlerFunction · 0.64
TestNewHandlerFunction · 0.64
TestNewHandler_koFunction · 0.64