Skip to content

Commit

Permalink
renamed loadstate to getstate
Browse files Browse the repository at this point in the history
  • Loading branch information
chandiniv1 committed Nov 27, 2023
1 parent 3fd7146 commit 2bd3a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ type Store interface {
// UpdateState updates state saved in Store. Only one State is stored.
// If there is no State in Store, state will be saved.
UpdateState(state types.State) error
// LoadState returns last state saved with UpdateState.
LoadState() (types.State, error)
// GetState returns last state saved with UpdateState.
GetState() (types.State, error)
}

0 comments on commit 2bd3a68

Please sign in to comment.