aboutsummaryrefslogtreecommitdiffhomepage
path: root/output.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-03 02:59:43 +0900
committerOphestra <cat@gensokyo.uk>2025-07-03 02:59:43 +0900
commit1b5ecd9eaf3289d164d8ed1bce6013e0e4ef8e86 (patch)
tree047fe5fabdfb37d5c0088f7f572cebc8b13853bb /output.go
parent82561d62b66f17c05604e87f18187bb3a91f00d2 (diff)
container: move out of toplevel
This allows slightly easier use of the vanity url. This also provides some disambiguation between low level containers and hakurei app containers. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'output.go')
-rw-r--r--output.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/output.go b/output.go
deleted file mode 100644
index d64d4712..00000000
--- a/output.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package hakurei
-
-var msg Msg = new(DefaultMsg)
-
-func GetOutput() Msg { return msg }
-func SetOutput(v Msg) {
- if v == nil {
- msg = new(DefaultMsg)
- } else {
- msg = v
- }
-}
-
-func wrapErrSuffix(err error, a ...any) error {
- if err == nil {
- return nil
- }
- return msg.WrapErr(err, append(a, err)...)
-}
-
-func wrapErrSelf(err error) error {
- if err == nil {
- return nil
- }
- return msg.WrapErr(err, err.Error())
-}