From b48da620b364eba0dd8c36a8559dcfa55eeac64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilg=C4=B1t=20Y=C4=B1ld=C4=B1r=C4=B1m?= Date: Mon, 14 Sep 2020 05:44:49 +0200 Subject: [PATCH] added Get method --- runtime/store.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/store.go b/runtime/store.go index ff024d7b6..b89dac6db 100644 --- a/runtime/store.go +++ b/runtime/store.go @@ -291,3 +291,8 @@ func (s *Store) Update(updater interface{}) { s.errorHandler(err) } } + +// Get returns the value of the data that's kept in the current state / Store +func (s *Store) Get() interface{} { + return s.data +}