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

Method Get

state.go:41–43  ·  state.go::State.Get

Get retrieves a value from the State.

(key string)

Source from the content-addressed store, hash-verified

39
40// Get retrieves a value from the State.
41func (s *State) Get(key string) (any, bool) {
42 return s.dependencies.Load(key)
43}
44
45// MustGet retrieves a value from the State and panics if the key is not found.
46func (s *State) MustGet(key string) any {

Callers 2

MustGetMethod · 0.95
HasMethod · 0.95

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected