aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/strings.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-24 18:44:14 +0900
committerOphestra <cat@gensokyo.uk>2025-09-24 18:44:14 +0900
commit1c4f593566943d8a0ce16eb3cae77f8c50238202 (patch)
tree2ac5c41a84127ff4cd5a275c81e834c495a109c9 /internal/app/strings.go
parentb99c63337df4068b36d7d8de2ae79fd274172977 (diff)
internal/app: unexport outcome, remove app struct
The App struct no longer does anything, and the outcome struct is entirely opaque. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/strings.go')
-rw-r--r--internal/app/strings.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/app/strings.go b/internal/app/strings.go
index e4465cee..a7fdcd46 100644
--- a/internal/app/strings.go
+++ b/internal/app/strings.go
@@ -2,12 +2,9 @@ package app
import (
"strconv"
-
- "hakurei.app/internal/app/state"
)
-func newInt(v int) *stringPair[int] { return &stringPair[int]{v, strconv.Itoa(v)} }
-func newID(id *state.ID) *stringPair[state.ID] { return &stringPair[state.ID]{*id, id.String()} }
+func newInt(v int) *stringPair[int] { return &stringPair[int]{v, strconv.Itoa(v)} }
// stringPair stores a value and its string representation.
type stringPair[T comparable] struct {