All checks were successful
Test / Create distribution (push) Successful in 35s
Test / Sandbox (push) Successful in 1m59s
Test / Hakurei (push) Successful in 3m20s
Test / Sandbox (race detector) (push) Successful in 4m26s
Test / Hpkg (push) Successful in 3m47s
Test / Hakurei (race detector) (push) Successful in 5m21s
Test / Flake checks (push) Successful in 1m35s
This helps indicate the exact origin and nature of the error. This eliminates generic WrapErr from container. 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
|
|
}
|
|
}
|