mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
added Get method
This commit is contained in:
committed by
Lea Anthony
parent
ed8884a581
commit
b48da620b3
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user