mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 01:30:32 +08:00
added Get method
This commit is contained in:
parent
ed8884a581
commit
b48da620b3
@ -291,3 +291,8 @@ func (s *Store) Update(updater interface{}) {
|
|||||||
s.errorHandler(err)
|
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
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user