Skip to content

Commit 6dbccb5

Browse files
authored
remove unused "panicValue" (#642)
1 parent 42f1589 commit 6dbccb5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/core/workgroup.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package core
22

33
import (
4-
"fmt"
54
"sync"
65
"sync/atomic"
76
)
@@ -27,15 +26,6 @@ type parallelWorkGroup struct {
2726
wg sync.WaitGroup
2827
}
2928

30-
type panicValue struct {
31-
value any
32-
stack []byte
33-
}
34-
35-
func (p *panicValue) String() string {
36-
return fmt.Sprintf("%v\n%s", p.value, p.stack)
37-
}
38-
3929
var _ WorkGroup = (*parallelWorkGroup)(nil)
4030

4131
func (w *parallelWorkGroup) Queue(fn func()) {

0 commit comments

Comments
 (0)