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