(key interface{})
| 51 | } |
| 52 | |
| 53 | func (m *stackValues) Value(key interface{}) interface{} { |
| 54 | if key == m.key { |
| 55 | return m.value |
| 56 | } |
| 57 | |
| 58 | if m.parent == nil { |
| 59 | return nil |
| 60 | } |
| 61 | |
| 62 | return m.parent.Value(key) |
| 63 | } |
| 64 | |
| 65 | func (c *stackValues) String() string { |
| 66 | var str strings.Builder |
no outgoing calls
no test coverage detected