diff options
| author | ewy <ewy0@protonmail.com> | 2026-06-06 20:20:41 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-06-06 20:20:41 +0200 |
| commit | fc9d57a500e522ce254f34681c67c6b2f3300cd8 (patch) | |
| tree | 101a9993e10c981a040f8321908e81e92371bbbd /spool/spool.go | |
| parent | a51c16ec4a1470549e3070d62a71386ea1aa5431 (diff) | |
remove a bunch of unnecessary pointer manip
Diffstat (limited to 'spool/spool.go')
| -rw-r--r-- | spool/spool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spool/spool.go b/spool/spool.go index 4335d50..ce02dc5 100644 --- a/spool/spool.go +++ b/spool/spool.go @@ -25,7 +25,7 @@ var Warn = func(format string, values ...any) (any, error) { return fmt.Fprintf(Stderr, format, values...) } -var Panic = func(code ExitCode, format string, values ...any) (any, error) { +var Panic = func(code *ExitCode, format string, values ...any) (any, error) { pkg := reflect.TypeOf(empty{}).PkgPath() v, err := fmt.Fprintf(Stderr, format, values...) st := strings.Split(string(debug.Stack()), "\n") |
