MCPcopy Create free account
hub / github.com/maruel/panicparse / routineColor

Method routineColor

internal/ui.go:154–159  ·  view source on GitHub ↗

routineColor returns the color for the header of the goroutines bucket.

(first, multipleBuckets bool)

Source from the content-addressed store, hash-verified

152
153// routineColor returns the color for the header of the goroutines bucket.
154func (p *Palette) routineColor(first, multipleBuckets bool) string {
155 if first && multipleBuckets {
156 return p.RoutineFirst
157 }
158 return p.Routine
159}
160
161// BucketHeader prints the header of a goroutine signature.
162func (p *Palette) BucketHeader(b *stack.Bucket, pf pathFormat, multipleBuckets bool) string {

Callers 2

BucketHeaderMethod · 0.95
GoroutineHeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected