aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/state/state.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-25 22:01:26 +0900
committerOphestra <cat@gensokyo.uk>2025-10-25 22:01:26 +0900
commitfe2929d5f7249f8593923446e1c327bf503cc8a0 (patch)
tree848307c5811da10c6132d1f05a2212961d31f2d3 /internal/app/state/state.go
parent470e545d2761b77f95147f61f633f4d629750ee7 (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.go5
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.