MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / getValueFromJSONResponse

Function getValueFromJSONResponse

commands/util.go:607–618  ·  view source on GitHub ↗
(field string, response map[string]interface{})

Source from the content-addressed store, hash-verified

605}
606
607func getValueFromJSONResponse(field string, response map[string]interface{}) interface{} {
608 var res interface{}
609
610 for key, value := range response {
611 if key == field {
612 res = value
613 break
614 }
615 }
616
617 return res
618}
619
620func logoText() string {
621 logo := `

Callers 2

printInvocationMsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected