5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 15:30:37 +08:00

added Get method

This commit is contained in:
Ilgıt Yıldırım 2020-09-14 05:44:49 +02:00 committed by Lea Anthony
parent ed8884a581
commit b48da620b3

View File

@ -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
}