From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- internal/app/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/app/app.go') diff --git a/internal/app/app.go b/internal/app/app.go index 102c273a..0d5f1a50 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -6,13 +6,13 @@ import ( "log" "os" - "hakurei.app/container" "hakurei.app/hst" "hakurei.app/internal/app/state" + "hakurei.app/message" ) // Main runs an app according to [hst.Config] and terminates. Main does not return. -func Main(ctx context.Context, msg container.Msg, config *hst.Config) { +func Main(ctx context.Context, msg message.Msg, config *hst.Config) { var id state.ID if err := state.NewAppID(&id); err != nil { log.Fatal(err) -- cgit v1.3.1