app: store values with string representation
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Run NixOS test (push) Successful in 3m26s

Improves code readability without changing memory layout.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-19 00:25:00 +09:00
parent 648e1d641a
commit a748d40745
7 changed files with 64 additions and 46 deletions

View File

@@ -9,7 +9,7 @@ import (
func NewWithID(id fst.ID, os sys.State) fst.App {
a := new(app)
a.id = &id
a.id = newID(&id)
a.os = os
return a
}