forked from TrueCloudLab/neoneo-go
core: change notify implementation to save notifications
Fixes #453 and makes it possible to refer to these notifications later.
This commit is contained in:
parent
9134cc1c37
commit
5ce269c035
7 changed files with 128 additions and 15 deletions
|
@ -59,6 +59,11 @@ func (e *Element) Prev() *Element {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Item returns StackItem contained in the element.
|
||||
func (e *Element) Item() StackItem {
|
||||
return e.value
|
||||
}
|
||||
|
||||
// Value returns value of the StackItem contained in the element.
|
||||
func (e *Element) Value() interface{} {
|
||||
return e.value.Value()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue