MCPcopy
hub / github.com/gofiber/fiber / acquireOldInput

Function acquireOldInput

redirect.go:134–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func acquireOldInput() map[string]string {
135 oldInput, ok := oldInputPool.Get().(map[string]string)
136 if !ok {
137 return make(map[string]string)
138 }
139
140 return oldInput
141}
142
143func releaseOldInput(oldInput map[string]string) {
144 if len(oldInput) > maxPoolableMapSize {

Callers 1

WithInputMethod · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected