From 1c4f593566943d8a0ce16eb3cae77f8c50238202 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 24 Sep 2025 18:44:14 +0900 Subject: 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 --- internal/app/strings.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'internal/app/strings.go') 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 { -- cgit v1.3.1