diff options
Diffstat (limited to 'internal/app/strings.go')
| -rw-r--r-- | internal/app/strings.go | 16 |
1 files changed, 0 insertions, 16 deletions
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 } |
