FunctionValuer implements the CallValuer interface and delegates the evaluation of function calls to the corresponding functions.
| 97 | // FunctionValuer implements the CallValuer interface and delegates |
| 98 | // the evaluation of function calls to the corresponding functions. |
| 99 | type FunctionValuer struct { |
| 100 | m map[string]interface{} |
| 101 | } |
| 102 | |
| 103 | func (f FunctionValuer) Value(key string) (interface{}, bool) { |
| 104 | v, ok := f.m[key] |
nothing calls this directly
no outgoing calls
no test coverage detected