var _ … type threadGenerator … func newThreadGenerator() *threadGenerator { … } func (g *threadGenerator) Sync() { … } func (g *threadGenerator) GoroutineLabel(ctx *traceContext, ev *trace.Event) { … } func (g *threadGenerator) GoroutineRange(ctx *traceContext, ev *trace.Event) { … } func (g *threadGenerator) GoroutineTransition(ctx *traceContext, ev *trace.Event) { … } func (g *threadGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) { … } func (g *threadGenerator) ProcRange(ctx *traceContext, ev *trace.Event) { … } func (g *threadGenerator) Finish(ctx *traceContext) { … }