From d0b6852cd7db2bb1214c3267719d3ac108c0a53e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 28 Aug 2025 00:54:44 +0900 Subject: internal/app: remove app interface It is very clear at this point that there will not be multiple implementations of App, and the internal/app package will never move out of internal due to hsu. Signed-off-by: Ophestra --- internal/app/app.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'internal/app/app.go') diff --git a/internal/app/app.go b/internal/app/app.go index 506703c2..d59b145d 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -4,22 +4,8 @@ package app import ( "syscall" "time" - - "hakurei.app/hst" - "hakurei.app/internal/app/state" ) -type App interface { - // ID returns a copy of [state.ID] held by App. - ID() state.ID - - // Seal determines the outcome of config as a [SealedApp]. - // The value of config might be overwritten and must not be used again. - Seal(config *hst.Config) (SealedApp, error) - - String() string -} - type SealedApp interface { // Run commits sealed system setup and starts the app process. Run(rs *RunState) error -- cgit v1.3.1