Some checks failed
Test / Create distribution (push) Successful in 34s
Test / Hakurei (push) Failing after 1m5s
Test / Sandbox (push) Failing after 1m28s
Test / Hpkg (push) Failing after 1m53s
Test / Hakurei (race detector) (push) Failing after 2m8s
Test / Sandbox (race detector) (push) Failing after 3m33s
Test / Flake checks (push) Has been skipped
This passes more information allowing for better error handling. This eliminates generic WrapErr from system. Signed-off-by: Ophestra <cat@gensokyo.uk>
13 lines
174 B
Go
13 lines
174 B
Go
package container
|
|
|
|
var msg Msg = new(DefaultMsg)
|
|
|
|
func GetOutput() Msg { return msg }
|
|
func SetOutput(v Msg) {
|
|
if v == nil {
|
|
msg = new(DefaultMsg)
|
|
} else {
|
|
msg = v
|
|
}
|
|
}
|