aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/output.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-29 02:33:10 +0900
committerOphestra <cat@gensokyo.uk>2025-09-29 06:11:47 +0900
commit46cd3a28c83e93b5d66c52d06a8366c11910d5c0 (patch)
tree6e25c5078b5cd9de78b7a6c9b253f1132358812b /system/output.go
parentad1bc6794f0053c3e63eab408a0d530d53e8b51c (diff)
container: remove global msg
This frees all container instances of side effects. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/output.go')
-rw-r--r--system/output.go10
1 files changed, 0 insertions, 10 deletions
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