From 46cd3a28c83e93b5d66c52d06a8366c11910d5c0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 02:33:10 +0900 Subject: container: remove global msg This frees all container instances of side effects. Signed-off-by: Ophestra --- system/output.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'system/output.go') diff --git a/system/output.go b/system/output.go index f183ebfe..022164f0 100644 --- a/system/output.go +++ b/system/output.go @@ -8,16 +8,6 @@ import ( "hakurei.app/container" ) -var msg container.Msg = new(container.DefaultMsg) - -func SetOutput(v container.Msg) { - if v == nil { - msg = new(container.DefaultMsg) - } else { - msg = v - } -} - // OpError is returned by [I.Commit] and [I.Revert]. type OpError struct { Op string -- cgit v1.3.1