diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-25 22:01:26 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-25 22:01:26 +0900 |
| commit | fe2929d5f7249f8593923446e1c327bf503cc8a0 (patch) | |
| tree | 848307c5811da10c6132d1f05a2212961d31f2d3 /internal/app/state/state.go | |
| parent | 470e545d2761b77f95147f61f633f4d629750ee7 (diff) | |
internal/app/state: include et header
This is the initial step of implementing #19.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/state/state.go')
| -rw-r--r-- | internal/app/state/state.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/internal/app/state/state.go b/internal/app/state/state.go index c5238d18..a64568f6 100644 --- a/internal/app/state/state.go +++ b/internal/app/state/state.go @@ -2,14 +2,9 @@ package state import ( - "errors" - "hakurei.app/hst" ) -// ErrNoConfig is returned by [Cursor] when used with a nil [hst.Config]. -var ErrNoConfig = errors.New("state does not contain config") - type Store interface { // Do calls f exactly once and ensures store exclusivity until f returns. // Returns whether f is called and any errors during the locking process. |
