From a5f0aa3f3077cb7bf3cbf7ac9e707ba165aceb4a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 3 Oct 2025 16:59:29 +0900 Subject: internal/app: declutter and merge small files This should make internal/app easier to work with for the upcoming params to shim. Signed-off-by: Ophestra --- internal/app/strings.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 internal/app/strings.go (limited to 'internal/app/strings.go') diff --git a/internal/app/strings.go b/internal/app/strings.go deleted file mode 100644 index a7fdcd46..00000000 --- a/internal/app/strings.go +++ /dev/null @@ -1,16 +0,0 @@ -package app - -import ( - "strconv" -) - -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 { - v T - s string -} - -func (s *stringPair[T]) unwrap() T { return s.v } -func (s *stringPair[T]) String() string { return s.s } -- cgit v1.3.1