aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/strings.go
diff options
context:
space:
mode:
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 {