app: separate interface from implementation
All checks were successful
Test / Create distribution (push) Successful in 26s
Test / Run NixOS test (push) Successful in 3m31s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-18 23:05:37 +09:00
parent 3c327084d3
commit 648e1d641a
9 changed files with 21 additions and 50 deletions

View File

@@ -319,7 +319,7 @@ func main() {
}
func runApp(config *fst.Config) {
rs := new(app.RunState)
rs := new(fst.RunState)
ctx, stop := signal.NotifyContext(context.Background(),
syscall.SIGINT, syscall.SIGTERM)
defer stop() // unreachable